9

I'd like to be able to debug .net code using Mdbg. Is there any way of getting it besides installing Visual Studio ( assuming this is a valid way of obtaining ) ?

Geo
  • 93,257
  • 117
  • 344
  • 520

4 Answers4

9

Mdbg - The .NET Framework Command-Line Debugger comes installed with the Windows SDK 7|10 as well as Visual Studio.

It's now available on Nuget too.

There is also the CLR Managed Debugger Sample which is a sample program that demonstrates how to build a command line debugger using .net.

Note that this is source code and does not come with pre-built binaries so you will have have the .net SDK or visual studio installed to be able to build it first. (It does now include prebuilt binaries in the bin/release folder after you've unzipped it)

Simon P Stevens
  • 27,303
  • 5
  • 81
  • 107
5

Version 4 (for .NET 4.0) can be downloaded from

http://www.microsoft.com/download/en/details.aspx?id=2282

hshen
  • 468
  • 1
  • 4
  • 13
3

https://www.nuget.org/packages/MDbg/ is another location. Seems to be CLR 4 and has more options for the catch command then the Version 4

Lars Truijens
  • 42,837
  • 6
  • 126
  • 143
0

The official Microsoft links provided here no longer work.

Luckily, someone downloaded the source while it was still available and made a GitHub repo: https://github.com/ichengzi/MDbg-Sample

anakic
  • 2,746
  • 1
  • 30
  • 32