The .NET Framework Command-Line Debugger is automatically installed with both Visual Studio and the Windows SDK. To start the tool, open either the Visual Studio Command Prompt or the Windows SDK CMD Shell. (To open CMD Shell, click Start, click All Programs, click Microsoft Windows SDK v7.0, and then click CMD Shell.) At the command prompt, type the following:
MDbg [ProgramName[arguments]] [options]
Commands
When you are in the debugger (as indicated by the mdbg> prompt), type one of the commands described in the next section:
command [arguments]
MDbg.exe commands are case-sensitive.
Read more: MSDN