Friends, Attached is note I posted on a Visual Age for Java newsgroup without getting much response. I am posting it to this group in the hope that people will share their JSP debugging experiences. -------------------------------- Friends, Today is my first day evaluating VAJEE. Specifically I am interested in the debugging experience for JSP developers. My experience is that: 1. The JSP execution monitor treats blocks of raw html and jsp scriptlets as a whole. 'Stepping' in the JSP execution monitor means stepping amongst these blocks. 2. If I want source level debugging of a scriptlet itself, I have to set breakpoints in the generated servlet java sources in the 'JSP Page Compile Generated Code' project. These breakpoints may 'move' if I edit the scriptlet and rerun the jsp file. This makes me wonder if there is any kind of programmatic breakpoint that I can include in the scriptlet source to break into the debugger where I want. 3. This is specific to java in general. I want to setup the debugger to halt at the source of any thrown exception. Can anyone tell me how to do this? I know that I can break in the catch clause of a try block but it may not be enough info to know where the exception happened. During development, if I step over a 20 line block of java code and a null pointer exception happens, I'm not sure where it came from. If I am lucky enough to be able to repeatedly cause the exception then I can carefully step through the code until it happens but it is still a pain. This is aggravated by the fact that, because VAJ java is not file based, the exception stack traces do not contain line numbers. I would like to hear how other VAJEE programmers deal with these issues. Do people really use the JSP execution monitor and the debugger or do they fall back on println debugging. (My past java experience is almost all println debugging.) - Kevin =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets