cs126 precept 6: using a debugger
A good java debugger is jswat. (Here's the jswat-2.20.zip installation file that I
downloaded a while back; the instructions contained here apply to this
version; and newer versions should be available now.)
- Installing jswat.
- We assume you have already installed the Java SDK. For me, the
jdk locates at: "e:\j2sdk1.4.2_03".
- Extract the contents from the downloaded .zip file. I put the
resulting files in "e:\rywang\programs\jswat-2.20". You may put it
anywhere.
- Find a file named "jswat.bat". Add
two lines near the beginning of the file. Here is the modified version; and here is the original version.
- You may click the "jswat.bat" to execute it.
- Using jswat.
precept 6
© 2004
Randy Wang