facebook

Conflict while debugging 2 projects on Tomcat.

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #243626 Reply

    ashaban
    Member

    I am using Eclipse 3.1.0, MyEclipse 4.0 and Tomcat 5.5 on Windows 2000.

    I have 2 web projects deployed on Tomcat server. They contain the same classes having different versions. When I set a breakpoint in the second project, the application stops as required (at right place), but a file from the first project is displayed on screen. The line number where cursor is placed is correct, but wrong code is shown, because the file has another version.

    How can I configure my projects to avoid this situation?

    #243633

    ashaban
    Member

    The problem described in http://myeclipseide.com/PNphpBB2+file-viewtopic-t-10108.html is very similar. I’d like to mention that my Tomcat uses correct sources, but wrong version of file is shown on the screen.

    Are these problems really different? If no, excuse me for asking an identical question.

    #243653

    Scott Anderson
    Participant

    The workaround of temporarily closing the project you’re not actively debugging is still the correct answer. The problem stems from the fact that the information the environment gets at debug time doesn’t localize the file by project, only by name and pacakaging, so the debugger can get confused in those instances.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Conflict while debugging 2 projects on Tomcat.

You must be logged in to post in the forum log in