Address Breakpoint dialog box

Restriction: This dialog box is not available when debugging on the AS/400 or interpreted Java programs.

Use the Address Breakpoint dialog box to set a new breakpoint or redefine an existing breakpoint that stops execution when a specific address is reached in your executable. The dialog box is available when debugging on the AIX, Solaris, OS/390, and Windows NT operating systems.

Controls and control groupings are described below. Group and subgroup names appear in italics, and control names appear in bold.

Required Parameters Define where the breakpoint is placed in the program being debugged.
Address or Expression Use this field to enter an address or an expression that evaluates to a valid execution address.

A valid execution address is the beginning address of a machine language instruction.

Optional Parameters Provide added control over when a breakpoint will stop program execution.
Thread This selection list lets you choose which threads to set the breakpoint in. To select a thread ID from the list, highlight the thread in which you want to set the breakpoint. This list is available only on platforms that support multithreaded programs.
Frequency Use the Frequency controls to tell the Debugger when to stop on a breakpoint and when to skip it. The Debugger keeps track of how many times each breakpoint is encountered. The fields in this section tell the Debugger on which encounter of a breakpoint the Debugger should first stop, how often it should stop, and on which encounter the Debugger should no longer stop.
From Enter the first breakpoint encounter on which you want the Debugger to stop. For example, if you want the Debugger to skip over the breakpoint the first five times it is encountered, enter "6".
To Enter the last breakpoint encounter you want the Debugger to stop on. For example, if you want it to start ignoring the breakpoint after the 20th encounter, enter "20". To have it always stop on the breakpoint, enter "Infinity".
Every Enter the frequency with which you want the Debugger to stop on the breakpoint. For example, if you want it to stop on only one out of every four it encounters, enter "4".
Expression You can type an expression into this field. The execution of the program stops at the breakpoint only if the condition specified in this field tests true.

For example, if you are debugging a C++ program you could type the following:

(i==1) || (j==k) && (k!=5)

Note: Variables in a conditional expression associated with an address breakpoint may be local or automatic only if there is debug information associated with the address (the address of the code must be in a function that has debug information). Global and static variables may be used without restriction.

Push buttons
OK Creates the address breakpoint using the settings you specified, then closes the Address Breakpoint dialog box.
Set Creates the address breakpoint using the settings you specified, but keeps the Address Breakpoint dialog box open so you can create more breakpoints.
Default Saves the settings in the Optional Parameters group for use as default settings when you next set a new breakpoint.
Cancel Closes the Address Breakpoint dialog box without creating a new breakpoint.
Help Displays this help panel.