JSwat not fiinding source code

Dan Wellisch <[email protected]> Thu, 26 Aug 2004 15:08:03 -0500
Newsgroups gmane.comp.java.jswat.user
Message-ID <[email protected]>
Hello:

If anyone can help with this, it would be greatly appreciated.

Thanks,

Dan Wellisch
WST, Inc.

*******************************************************
Operating System (e.g. Windows, Linux, Solaris)
Windows XP

JDK version (e.g. 1.2.2, 1.3.1, or 1.4.0)
JRE 1.4.2 Plugin

JDK brand (e.g. Sun, IBM, Blackdown)
Sun

JSwat version (better to be the latest)
2.25

Your classpath and sourcepath settings.
This is the property seen your about window dialog.  I actually set the 
CLASSPATH var to C:\perforce\cobrand2\war\appet\Datatools.jar before I 
started JSwat.

java.class.path = 
c:\j2sdk1.4.2_04\lib\tools.jar;C:\perforce\cobrand2\war\appet\Datatools.jar;C:\jswat-2.25\\jclasslib.jar;C:\jswat-2.25\\jswat.jar;C:\jswat-2.25\\parser.jar

Description of what you are trying to do.
First of all, I am debugging an applet that is downloaded from a remote 
Resin web application server.  I can attach to the VM through a socket 
as suggested, and I can see the classes of my application.  I am 
simplying trying to see a pointer move through the source code that I am 
stepping through.  The main problem that no matter what I do, I can not 
get JSwat to find the source code when I right click on the class in the 
"classes" pane nor when I right click on the breakpoint displayed when 
the breakpoint is hit (in the bottom left pane).  I always get the error 
"Source code not found."  How do I get the tool to not only find the 
source code but step through it visually??? 

I used the debug=true and optimize=false flags in my build.xml in order 
to build the final .war file to be shipped to the webserver.  The .war 
file contains the Datatools.jar file
which has all the applet code that I am interested in stepping through.

Could it be that I need to package the source in with Datatools.jar in 
order for the source to be found?

Also, I noticed that I can not change the classpath through Jswat once 
in the app.  Don't know if  I need to or not....Just a comment.   And 
maybe more importantly,
the set sourcepath command does not help my problem at all.


Any pertinent error messages.
Mentioned above.

_______________________________________________
jswat-user mailing list
[email protected]
http://www.bluemarsh.com/mailman/listinfo/jswat-user