.NET Brain Droppings

I'm a Microsoft Certified Architect (MCA)... Feel free to ask me about the program...

Stepping into IL while debugging

 This post came across the ADVANCED-DOTNET list several months ago and I had to post it. Many of us want to be able to step into the IL as we are debugging, but we can't. This suggestion was provided as a work around by Craig Andera and seconded by Mike Woodring.  It's a great way to view the IL as your debugging; lets hope MS will make this easier in the 2nd drop of .NET. You can find the post in the archives here.

(1) decompile your assembly using ildasm to get an IL source file that includes the original high level language in interspersed comments.
(2) recompile the IL into an assembly using ilasm.exe
(3) debug the assembly; now able to see source+IL+asm

Comments

Jamie Cansdale said:

Has anyone managed to do this with a signed assembly? I've got a hunch it might be possible with delay signing and the DEVPATH. Has anyone actually done this? I quite fancy stepping into mscorlib.
# February 16, 2003 4:25 AM

Don Browning said:

You know, I havn't actually tried this. But you're right, the though of being able to step into mscorlib makes it temping enough to sink some time into it... Of course, there's always rotor =)
# February 17, 2003 6:56 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)