Building Your Own Debugger

When all else fails, you can build your own debugger. Before .NET, this option was rarely considered because of the deep understanding that was required of the specific compiler, the executable format, machine-dependent assembly instructions, and so on. With the .NET Framework, a well-documented debugging API is available.

The documentation for the debugging API is in two documents: in \Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Tool Developer Guidelines\docs\Debug.doc and \Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Tool Developer Guidelines\docs\DebugRef.doc. The first document gives an overview of the debugging process and the second goes into detail about the specific APIs that are required ...

Get .NET Common Language Runtime Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.