Setting a function breakpoint
You can set function breakpoints from the Modules pane, the Source menu and the
Breakpoints menu.
To set a function breakpoint from the Modules pane:
- Expand the list in the Modules pane until you see the function you want.
- Right-click on that function and select Set Function Breakpoint from the pop-up
menu.
To set a function breakpoint from the Source menu:
- Select Source > Set Function Breakpoint from the menu bar.
- 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. If this executable is loaded, you can select it from the pulldown list in the Executable
entry field.
- Choose or enter the object, class or source file for the executable specified in the Executable
entry field from the Source pulldown list.
- 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.
- If the executable or DLL containing the function you want to debug is not currently
loaded, click on the Defer breakpoint check box.
- Set any optional parameters that you want for the breakpoint.
- 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.
To set a function breakpoint from the Breakpoints menu:
- Select Breakpoints > Set Function from the menu bar.
- 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. If this executable is loaded, you can select it from the pulldown list in the Executable
entry field.
- Choose or enter the object, class or source file for the executable specified in the Executable
entry field from the Source pulldown list.
- 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.
- If the module or routine you entered in the Executable entry field is
not currently loaded, click on the Defer breakpoint check box.
- Set any optional parameters that you want for the breakpoint.
- 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.

Breakpoints

Setting multiple breakpoints
Setting a conditional breakpoint

Modifying breakpoint properties
Enabling and disabling breakpoints
Deleting a breakpoint
Viewing breakpoints