Share via


Setting a Breakpoint at the Return Point of a Function

Other versions of this page are also available for the following:

Windows Mobile SupportedWindows Embedded CE Supported

8/27/2008

You can set a breakpoint at the location of a function return.

To set a breakpoint at the return point of a function

  1. From the View menu, choose Debug Windows and then choose Call Stack.

  2. In the Call Stack window, move the insertion point to the function where you want the application to break.

  3. Choose the Insert/Remove Breakpoint button on the Build toolbar.

    A red dot appears in the left margin of your source code, indicating that the breakpoint is set.

See Also

Concepts

Handling Breakpoint Behavior