.NET Framework debug symbols

My blog has moved.
You can view this post at the following address:
http://www.osherove.com/blog/2004/1/22/net-framework-debug-symbols.html
Published Thursday, January 22, 2004 11:47 AM by RoyOsherove
Filed under:

Comments

Thursday, January 22, 2004 9:00 AM by James Robertson

# re: .NET Framework debug symbols

Smalltalk has always allowed that. You can also restart from any point in the stack....
Thursday, January 22, 2004 2:44 PM by Jamie Cansdale

# re: .NET Framework debug symbols

You can do it like this... Mount the GAC as a drive letter (see http://weblogs.asp.net/nunitaddin/archive/2003/02/27/3136.aspx). Change directory to the assemby you want to step through. Decompile it using ildasm. Recompile it with debug symbols turned on (you may need to delay sign it). It doesn't matter that you don't have Microsoft's key because assemblies in the GAC are pre-checked and assumed good. You are now ready to set a breakpoint in System.il (or whatever) and step into it! Have fun...
Friday, January 23, 2004 11:20 PM by Rick Childress

# re: .NET Framework debug symbols

Roy,

Once you get the symbols you can step through the asm. I guess this is closest we can get (right now) since I assume the code is JIT'ed before debugging. Still, you get good call stacks.

- Rick