Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Exceptions are one of the most evident symptoms of execution errors. You can set breakpoints on certain exception classes when an exception occurs. Exception breakpoints stop execution whenever an exception of a selected type is thrown. This functionality is directly inherited from the JDT debugger and has the same capabilities. When a selected exception occurs, the report engine stops execution, and the report item instance and variable values can be examined in the current context.
Exception breakpoints can be viewed, enabled, or disabled using the standard Breakpoints view. Choosing Add Java Exception Breakpoint from the Breakpoints view activates these breakpoints, as shown in Figure 12-13. Alternatively, add a Java exception breakpoint by choosing Run?Add Java Exception Breakpoint.