Using counts with breakpoints  Breaking when execution is not interrupted

Chapter 6: Debugging Java in the Database

Using conditions with breakpoints

The debugger allows you to associate a condition with a breakpoint, so that execution stops only when the line is executed and the condition is met.

To associate a condition with a breakpoint:

  1. From the Source window, select Break→Display. The Breakpoints window is displayed.

  2. In the Breakpoints window, click a breakpoint to select it.

  3. Select Break→Condition. A window is displayed with a field for entering an expression. The execution will stop when the condition is true.

    The expressions used here are the same as those that can be used in the Inspection window, and include the following:





Copyright © 2005. Sybase Inc. All rights reserved. Breaking when execution is not interrupted

View this book as PDF