Search VisualAge for Java Information Go to Information Home Page Go to VisualAge for Java WWW Site

Configure Breakpoints Window

In this window, you can set conditions on breakpoints.  If the condition evaluates to a boolean value of true when the code is running, the thread will be suspended and the Debugger browser will open. If it is false, then the breakpoint is ignored.

The Recent breakpoint conditions drop-down list remembers up to about ten previous conditions you have set on breakpoints.  You can select one for the current breakpoint.  The list also provides samples of possible conditions that you can select and then modify in the text field below.

Alternatively, you can compose a condition in the text field.  The condition can include Java statements that can, for example, output a message to the console.  Part of the condition can be an explicit "true" or "false" statement.   The samples in the Recent breakpoint conditions drop-down list demonstrate this.

To remove conditions from a breakpoint (so that it always suspends code), set the condition to "true".

Click OK to apply the condition or Cancel to exit without modifying the breakpoint.

ngrelt.gif (466 bytes)
Setting Breakpoints in Source Code
Configuring and Setting Conditions on Breakpoints