Enable 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.
In this section
Get a port discusses how to obtain a port as the first step to enabling a program to be debugged.
Register 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.
Attach 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.
Send the required events steps you through the required events when creating a debug engine (DE) and attaching it to a program.
Related content
- 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.