Enabling a Program to Be Debugged
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at Enabling a Program to Be Debugged.
Before your debug engine (DE) can debug a program, you must first launch the DE or attach it to an existing program.
Getting a Port
Discusses how to obtain a port as the first step to enabling a program to be debugged.
Registering the Program
Explains the next step in enabling a program to be debugged: registering it with the port. Once registered, the program can be debugged either by the process of attaching or just-in-time (JIT) debugging.
Attaching to the Program
Explains the next step:attaching the debugger to the program.
Launch-based Attaching
Describes launch-based attachment to a program, which is automatic upon launch by the SDM.
Sending the Required Events
Steps you through the required events when creating a debug engine (DE) and attaching it to a program.
Creating a Custom Debug Engine
Defines a debug engine (DE), and describes services implemented through the DE interfaces and how they can cause the debugger to transition between different operational modes.