Share via


Create a breakpoint

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

The following describes the process of creating a breakpoint.

Methods in breakpoint creation

When the module that is needed to bind a breakpoint is loaded, the session debug manager (SDM) calls the following methods:

  1. IDebugPendingBreakpoint2::Enable

  2. IDebugPendingBreakpoint2::Virtualize

  3. IDebugPendingBreakpoint2::CanBind

    Note

    CanBind is called only when a user makes a breakpoint from the Breakpoints window.

  4. IDebugPendingBreakpoint2::Bind

  5. IDebugPendingBreakpoint2::EnumBoundBreakpoints

See also