Enter break mode

The following information describes the process that occurs when a breakpoint is encountered after stepping into a function, running to the line of source code that has the cursor in it, or running to a breakpoint.

Break mode process

  1. The debug engine (DE) sends IDebugBreakpointEvent2, IDebugExceptionEvent2, or any other stopping event to cause the IDE to enter break mode.

  2. The SDM gets the call stack information from the thread, as follows: