How do I debug a .NET executable at MSIL-level?

Posted by Eyal on Stack Overflow See other posts from Stack Overflow or by Eyal
Published on 2010-04-12T18:36:05Z Indexed on 2010/04/12 18:53 UTC
Read the original article Hit count: 380

Filed under:
|
|

I have a .NET executable file that I need to debug. I would like to step into it so that it stops on the first instruction and have a visual interface for single-stepping, breakpoints, etc.

This seems like it should be easier but I haven't yet found a solution! I read about DbgCLR.exe on the web but I can't find that file on my system or online for the life of me. I also read somewhere that DbgCLR.exe is no longer necessary because Visual Studio can do the same thing. A Visual Studio .NET solution would be great, too! (Maybe there's a menu item that I overlooked?)

Either will suit, so long as I can inspect the stack, set breakpoints, etc.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about debugging