How do I see a disassembly of the machine code generated by the .net JITer? The Show disassembly window menu option is no where to be found. Even the tool bar button for it is in the disabled state. If I recall correctly the disassembly can indeed be seen but one must resort to some trick, unfortunately I don’t remember what that trick was. Can someone please provide some pointers here?
Debugging environment: VS2008 (I guess you can see the disassembly without much pain in WinDbg and some debugger extention (SOS.dll?) Hmm, now I think that same dll may also be used in VS2008 let me check and get back to you. Please feel free to correct me if I am wrong.)
Hi unfortunately the show debug window command is still not working but you can get by with a debugger extention dll called SOS.dll to debug/disassemble .net code here are a few links (note this works with VS2008 and WinDbg)…
1) MSDN: SOS Debugging Extension (SOS.dll)
2) Some general tips on using SOS with Windbg