facebook

Debug when deployment has been done by ANT [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #204721 Reply

    Hi,
    Is it possible to set breakpoints and debug JSPs if I don’t use the Myeclipse project deployment tool?
    I’m currently using ANT to build and deploy the webapp. I then start the application server (debug mode) from within MyEclipse (tomcat5), and it works great. I am able to use the application completely from the web.

    The problem is that the debugger doesn’t stop at my breakpoints at all.

    So my question is. Is it possible to debug the code this way, or do I have to deploy it using the MyEclipse deployment tool, which at the moment does not work for my settings.

    Br
    Marcus

    Eclipse version: 3.0M6
    MyEclipse version: 030700RC2
    Eclipse JDK version: 1.4.2_04
    Application Server JDK version: tomcat5 1.4.2_04

    #204727 Reply

    Scott Anderson
    Participant

    Marcus,

    Yes, you can do your own deployment. You just need to remember to configure Ant such that debug is turned on. The problem you’re having with breakpoints not being hit is likely compilation without debug on (the default) or the fact you’re using the latest build of 1.4.2. 1.4.2 has been a bit problematic for debugging as it’s been a bit buggy in the implementation. You might have much better success with 1.4.1.

    #204908 Reply

    Hi again,
    Yes, you were right. I missed the debug=on flag in my build script. After that It worked fine. Thanks for your help! Sorry to have bothered you with such a simple issue.

    BR
    Marcus

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Debug when deployment has been done by ANT [Closed]

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