More Debugging Options

JBuilder offers additional features to help debug an application. These additional features are used only a fraction of the time, but represent huge time savings when debugging code. The additional features are

  • Conditional breakpoints

  • Breakpoint logging

  • Exception breakpoints

  • Class breakpoints

  • Method breakpoints

  • Class tracing

Breakpoint Options

Conditional breakpoints become active if conditions are true. Breakpoints by default will stop execution of an application and put the application on pause. Breakpoints can also be used to log messages without stopping the application. In Figure 6.6, the breakpoint becomes active based on the condition c>70.

Figure 6.6. Conditional breakpoint properties.

In Figure 6.6, when the application ...

Get Borland® JBuilder™ Developer’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.