Mohan Radhakrishnan wrote:
> 1. When cafe encounters JDK source code it opens that
> and steps through that also.

Another strange thing that you'll see if use Visual Cafe to debug servlets
with JRun:  when a servlet is executed, Visual Cafe will stop execution a
bunch of times in the middle of JRun's classes.  This occurs because JRun's
classes throw ArrayIndexOutOfBoundsExceptions in a number of places.  This
is OK since the JRun classes "catch" these exceptions as well.  However, by
default, Visual Cafe is configured to stop whenever a
Java.lang.ArrayIndexOutOfBoundsException occurs.

You can handle this is one of two ways:

1.  Hit <F5> to resume program execution whenever this occurs.  This works,
but gets old real quick.

2.  Configure Visual Cafe not to stop for these exceptions.  To do this,
select "Project -> Options", select the "Debugger" tab, select "Exceptions"
in the "Debugger Category drop-down menu, and uncheck the checkbox for
"java.lang.ArrayIndexOutOfBoundsException".  Whew.

> 2. If it complains that you can't set breakpoints in code then
> probably the code is not part of the cafe project.

Yep.

--
Stephen A. Williams
HNC Telecommunications Solutions

===========================================================================
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

Reply via email to