Re: Newbie question - cannot get sourcefile working
Nathan Fiedler <[email protected]> Mon, 03 Mar 2003 16:49:27 -0700
| Newsgroups | gmane.comp.java.jswat.user |
|---|---|
| Organization | Blue Marsh Softworks |
| Message-ID | <[email protected]> |
Can you give an example of a particular class that is not loading? For instance, what is the class name, it's path from d:\nfc-1.0.8\src, and the extension on the file? Hopefully it's something like this: au.net.bigpond.myapp.MyClass au\net\bigpond\myapp\MyClass.java If this is wildly different from your setup, JSwat will not be able to find the source files. The sourcepath has the same format as the classpath, so class names and directory structures must match up exactly. n Cameron Price wrote: > Hello Everyone, > Ive just downloaded jswat today and it looks like a great debugger so > far, but alas I cannot get my source java files to > load. Heres my configuration. Im trying to debug a servlet in tomcat. > Im using Tomcat 4.1 and j2sdk 1.4.1 on a windows xp box. Now I've > compiled my app using ant, with debugging info on, I then copy my war > file to the webapps dir in tomcat, and attach to tomcat via shared > memory - no probs. I can see the threads, and methods of my class files > ect. However I cannot load my java source files! > I have put every directory possible in the sourcefile list, but it never > picks up any of my java files. > > All of my source files are in a dir d:/nfc-1.0.8/src directory > My class files are in the dir where tomcat is installed which is > d:\program files\apache group\tomcat 4.1\webapps\nfc\web-inf\lib\*.jar > > now Ive added the d:\nfc-1.0.8\src dir, and all of the sub directorys > under that, but it never picks up the files in there > > Is there something I am missing? > > Thanks, > Cameron