setting debug-flag of javac

How to check, if a java-class was compiled with debug-options: Javap will show up the linenumbers and local variable tables (if present in class)… if not, you can be sure to know why your debugging-activities won’t work :-/ Here’s a small ant-script for demonstrating the setting of debug-option:

debug your webapp – the simple way

Debugging your webapp is not as hard as it could be without Tomcat 😉 Just take a normal Tomcat-Installation (download, unzip, configure) and put your packaged war-file into the webapps-directory. If it works, fine. If not, search the bug. Of course, you could do the debugging in your eclipse, maybe with an integrated tomcat or […]