Setting an address breakpoint

ngaix.gif (1051 bytes)ngwin.gif (1069 bytes)Restriction: This is supported for AIX and Windows only.

ngjava.gif (225 bytes) Address breakpoints are not available when debugging interpreted Java programs. They are available when debugging High Performance Compiled (HPC) Java programs.

You can set an address breakpoint from the Source pane, the Source menu, and from the Breakpoints menu.

To set an address breakpoint in the Source pane:

  1. Ensure the Source pane is set to a disassembly or mixed view. To set the Source pane to a disassembly view, select Source > Disassembly View. To set the Source pane to a mixed view, select Source > Mixed View.
  2. Make sure the appropriate line is visible in the pane by using the scroll bar or cursor keys to locate the line.
  3. Double-click on the line number in the prefix area of the line.

To set an address breakpoint from the Source menu:

  1. Select Source > Set Address Breakpoint from the menu bar.
  2. Enter either the address where you want to set the breakpoint or an expression that evaluates to an address. The address must be entered in hexadecimal notation.
  3. Set any optional parameters that you want for the breakpoint.
  4. Click OK to set the breakpoint and dismiss the Address Breakpoint dialog. Alternatively, use the Set button to set the breakpoint without dismissing the Address Breakpoint dialog.

To set an address breakpoint from the Breakpoints menu:

  1. Select Breakpoints > Set Address from the menu bar.
  2. Enter either the address where you want to set the breakpoint or an expression that evaluates to an address. The address must be entered in hexadecimal notation.
  3. Set any optional parameters that you want for the breakpoint.
  4. Click OK to set the breakpoint and dismiss the Address Breakpoint dialog. Alternatively, use the Set button to set the breakpoint without dismissing the Address Breakpoint dialog.

[Related Concepts]
Breakpoints

Related Tasks
Setting multiple breakpoints
Setting a conditional breakpoint
ngaix.gif (307 bytes)ngwin.gif (301 bytes)Modifying breakpoint properties
Enabling and disabling breakpoints
Deleting a breakpoint
Viewing breakpoints