Setting a function breakpoint

You can set function breakpoints from any of the following:

To set a function breakpoint from the Modules pane:

  1. Expand the list in the Modules pane until you see the function you want.
  2. Right-click on that function and select Set Function Breakpoint from the pop-up menu.

To set a function breakpoint from the Breakpoints menu:

  1. Select Breakpoints > Set Function from the menu bar.
  2. Enter the name of the executable which contains the function where you want to set a breakpoint in the Executable entry field in the Function Breakpoint dialog. This step is optional unless the executable is not loaded. If this executable is loaded, you can select it from the pulldown list in the Executable entry field.
  3. Optionally, choose or enter the object, class or source file for the executable specified in the Executable entry field from the Object pulldown list.
  4. Enter the name of the function where the breakpoint is to be set in the Function entry field in the Function Breakpoint dialog. If this function is loaded, you can select it from the pulldown list in the Function entry field.
  5. If the module or routine you entered in the Executable entry field is not currently loaded, click on the Defer breakpoint check box.
  6. Set any optional parameters that you want for the breakpoint.
  7. Click OK to set the breakpoint and dismiss the Function Breakpoint dialog. Alternatively, use the Set button to set the breakpoint without dismissing the Function Breakpoint dialog.

ngrelc.gif (533 bytes)
Breakpoints

Related Tasks
Setting multiple breakpoints
Setting a conditional breakpoint
Modifying breakpoint properties
Enabling and disabling breakpoints
Deleting a breakpoint
Viewing breakpoints