facebook

[Closed] Debugging with Tomcat 5

💡
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 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #240647 Reply

    Hi,
    I’ve just done a totally new installation of the myeclipse project. I’ve setup the tomcat application server in myEclipse and have then checked out of CVS a new project. I then externally compile and copy into the tomcat directory the new project. If I start the tomcat server via myEclipse the application seems to recognise breakpoints in my project automatically without me having to set anything else up. (Eg. not using deploy J2EE server) Can you tell me how this works?
    Thanks,
    J.

    #240651

    Riyad Kalla
    Member

    When you start Tomcat from within MyEclipse, we automatically connect the debugger to the running tomcat VM. It’s magic 😉

    #240655

    Thanks alot for the prompt reply but just one last question. If I have numerous projects open some maybe nearly identical in source code if they all have break points how will myEclipse decide which code set to debug to?
    Thank again,
    J.

    #240667

    Riyad Kalla
    Member

    J,
    Excellent question, the debugger will get confused and likely stop at the wrong break point of the projects are nearly identical in package names, class names, etc. You just need ot close the projects you aren’t debugging to avoid this.

    #240672

    Thanks for your quick answers. Problem resolved!

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: [Closed] Debugging with Tomcat 5

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