DevPinoy.org
A Filipino Developers Community
ATTENTION:Take our Code Challenge for the month of October 2008 and win some great prize! Learn more about it here!

Disabling method inlining of the CLR

I am currently reading Richard Grimes’ Fusion WorkShop and in the article he talks about method inlining used by the runtime to optimize execution.  I have read this behavior of the CLR but I have never read a way on how to disable this, until he suggested to compile for debug mode.  Logical since your method breakpoint is possible not to be hit if method inlining is enabled at debug mode.

I also found out another way to disable it through an ini file (same file name as application name just like the .config files) with the following content:

    [.NET Framework Debugging Control]
    GenerateTrackingInfo=1
    AllowOptimize=0

AllowOptimize=0 disables method inlining obviously.  I wonder what GenerateTrackingInfo settings is...

Posted Apr 01 2005, 03:25 PM by jokiz
Filed under: , ,

Comments

Buy ephedra online. wrote I want to purchase ephedra.
on 04-21-2008 5:06 PM

Denver ephedra attorney. Georgia ephedra lawyers. Georgia ephedra attorneys. Ephedra.

Add a Comment

(required)  
(optional)
(required)  
Remember Me?

Enter the numbers above:

Copyright DevPinoy 2005-2008
Powered by Community Server (Commercial Edition), by Telligent Systems