COR Debugger

Like ILDASM, the Common Language Runtime debugger (cordbg) is a useful tool supplied with the SDK.[3] It is helpful to use cordbg to demonstrate aspects of the execution system. This section provides a quick start with cordbg but does not offer a complete tutorial on its use; instead, it simply provides sufficient information to help a developer get started with this tool.

[3] As the name suggests, this tool dates back to the time when the .NET Framework was known as the Com Object Runtime (COR).

To start cordbg on a CLR executable program, type the command cordbg and the name of the program you wish to debug. For example:

cordbg SampleIL.exe 

A useful exercise is to configue cordbg to display load events. Load events occur whenever ...

Get Programming in the .NET Environment 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.