Unable to set breakpoint in Eclipse when debugging servlet in Tomcat5
From: Roy Varghese (rvarghese_at_users.sf.net)
Date: 06/22/04
- Previous message: tmb: "netBeans Project setup for Notepad created source file ??"
- Next in thread: Mark Townsend: "Re: Unable to set breakpoint in Eclipse when debugging servlet in Tomcat5"
- Reply: Mark Townsend: "Re: Unable to set breakpoint in Eclipse when debugging servlet in Tomcat5"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 21 Jun 2004 22:15:07 -0700
Hello
I am trying to get remote debugging working with Tomcat 5.0.25.
Following the instructions at this site,
http://jakarta.apache.org/site/idedev-rdeclipse.html
I got Eclipse to connect to the Tomcat JVM, it properly displays
all the threads running within the JVM. But when I open my servlet
source and try to set a breakpoint, prior to invoking the servlet,
Eclipse complains with the following message:
"Breakpoint can neither be added nor removed at current text location."
I tried this at several places in the code, but no success.
If I run the same servlet as a java application w/ local debugging,
I CAN set breakpoint at the same line.
Can anyone please help me idenfity what I am missing? I did add
the directory of the java file to the Source path, but no difference.
Thx!!
Roy
- Previous message: tmb: "netBeans Project setup for Notepad created source file ??"
- Next in thread: Mark Townsend: "Re: Unable to set breakpoint in Eclipse when debugging servlet in Tomcat5"
- Reply: Mark Townsend: "Re: Unable to set breakpoint in Eclipse when debugging servlet in Tomcat5"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]