Breaking in a Function

Related Topics:

Breakpoints Breakpoint Types
Breaking at a Location Setting an In Member Breakpoint

The Stop In button on the tool bar lets you quickly set a breakpoint in a function. You can also use the Breakpoints window to set this breakpoint.

To set the Stop In breakpoint using the tool bar in the editor window:

1. Select the name of the function where you want the breakpoint.

2. Click the Stop In button on the tool bar.
A message in the message area tells you that the breakpoint is set.

To set the Stop In breakpoint in the Breakpoints Window:

1. In the Debugging window, choose Windows Breakpoints.

2. If the Details pane is not in view, click Add/Change
The breakpoint is added to the list of currently active breakpoints.