Disabling JIT Optimizations

Disabling JIT Optimizations

  • Comments 1

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.

Leave a Comment
  • Please add 8 and 3 and type the answer here:
  • Post
  • יוצרים קובץ לפי שם האפליקציה עם סיומת INI ושמים שם את הדבר הבא: [.NET Framework Debugging Control] GenerateTrackingInfo=1

Page 1 of 1 (1 items)
Search