F
Fuzzy
I want to experiment with the JIT compiler's optimization of code,
especially regarding inline compilation of small methods.
What I have done is set the Build options for 'Optimize Code' to TRUE
and set 'Generate debugging information' to TRUE.
I run the compiled application from Windows Explorer, crank up Visual
Studio .NET, and attach to the running application with Tools -> Debug
Processes...
Since I generated debugging information I can step through C# source
code and the disassembly. However, small methods I thought would have
been inlined by the compiler are not.
Have I erred in the process somehow and prevented inline compilation?
Is there a more appropriate way to accomplish my goal?
especially regarding inline compilation of small methods.
What I have done is set the Build options for 'Optimize Code' to TRUE
and set 'Generate debugging information' to TRUE.
I run the compiled application from Windows Explorer, crank up Visual
Studio .NET, and attach to the running application with Tools -> Debug
Processes...
Since I generated debugging information I can step through C# source
code and the disassembly. However, small methods I thought would have
been inlined by the compiler are not.
Have I erred in the process somehow and prevented inline compilation?
Is there a more appropriate way to accomplish my goal?