How to see JIT-Compilated code in .NET VM (CLR)
问题 How can I have a trace of native code generated by the JIT-Compiler ? Thanks 回答1: In Visual Studio place a breakpoint in the code and start debugging. When it breaks, open the Disassembly window (Debug > Windows > Disassembly or Alt+Ctrl+D). 回答2: If you just use Debug->Windows->Disassembly on a standard Debug or Release exe, without modifying Visual Studio Debugging options, you will just see a version of non optimized .NET code. Have a look at this article "How to see the Assembly code