"No code at that line in class" while debugging Tomcat

Paul Legato <[email protected]>
Newsgroups gmane.comp.java.jswat.user
Message-ID <[email protected]>
Hi all,

I'm using JSwat 2.9 with Apache Tomcat 4.1.12. I'm trying to debug 
classes running remotely on the server. If I make a change to a source 
file and redeploy it into Tomcat, Tomcat's automatic reloading detects 
the new .class file and uses it.

But, if I reload the new source file into JSwat and attempt to set 
breakpoints anywhere in the file, I get a popup with "No code at that 
line in class". This happens even if I detach from the remote VM, or 
even if I completely exit JSwat and restart it. The only thing that 
seems to get the new code to be debuggable is shutting down and 
restarting both Tomcat and JSwat.

Am I doing something wrong, or is this a bug?

Thanks,
-Paul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.