tags:

views:

74

answers:

2

Hi,

How can I have a trace of native code generated by the JIT-Compiler ?

Thanks

+5  A: 

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).

Guffa
Is there a way to dump it into a file ?
Thomas
Select All, Copy, open Notepad, Paste and Save.
Guffa
Well, thanks a lot ;)
Thomas
+2  A: 

You should look for the files output from the NGen tool. NGen compiles and stores pre-jitted versions of assemblies in the Global Assembly Cache.

Peter Lillevold