Bajie Debugger set up


First please be warned, I am very tight on time and don't have much time on this debugger. I got tied doing other stuff and supporting the users.

This debugger don't have fancy graphics. You can save the project for some break points and your source location. By default the debugger load default.txt on startup, you can always set your project name to default.txt so the debugger will load it by default.
To use, download bjdbg.jar and put it in the same directory you installed the server (that is for jsp only, cause the debugger will look for htdocs/ directory for jsp files and defaultTemp for the compiled jsp files for debug.
Also, download debugger.bat.txt and save it as debugger.bat (or debugger.sh and relace ; with : in the file on Linux). You need to edit that file to change the path of tools.jar to match on your system. The debugger needs that for JPDA. Make sure you use jdk1.3 and above.
To start, run dbgstart.bat for the server, and run debugger.bat to start the debugger. You can actually use the debugger for other java programs. For servlets, first you need to select java source path, use either the manu (Select Source) to set the source path. You will see you can now select the java sources. Right click to add break points. Note that break points are not gurrantied to be breakable, and the debugger won't check it. Same as jsp files.
The jsp source path is pre-selected. But You MUST first request the jsp file (example, jsp/hello.jsp ) via the browser, else the debugger won't find the compiled java file (told you it is a stupid debugger). The debugger doesn't support reload file if you changed them either.
Currently watch points are not supported either. Use the Stack trace pannel on top right corner the trace the stack and variables.

That is all and I am tired, so bye and out. History: