Disabling JIT Optimizations


INI files are not dead yet 馃檪


Now if you wanted to disable JIT optimization then place this into your application directory as a <appName>.ini file


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


Why would you want to do this?
Mostly when debugging in release mode you might not the get the correct stack dump. Eg: JIT might inline method definitions and you could actualy not see the method in which the exception is being raised. So when your debugging in a production environment. try to disable JIT optimizations before geting the stack dump.

Comments (1)

  1. 讬讜爪专讬诐 拽讜讘抓 诇驻讬 砖诐 讛讗驻诇讬拽爪讬讛 注诐 住讬讜诪转 INI 讜砖诪讬诐 砖诐 讗转 讛讚讘专 讛讘讗: [.NET Framework Debugging Control] GenerateTrackingInfo=1