Wednesday, May 5, 2010

VS2008 Debugging Options

Have you ever wondered why some times, the code does not work in the production environment, but works perfectly fine when you debug it in developer environment. Since the code is working in one place and not working in another, its obvious that the two are not exactly same.

Well here is the little hidden option which can make the two differ.

When “Suppress JIT optimization” you will basically be debugging NON-OPTIMIZED. And you should uncheck this option only to debug the issue which are not re-creatable in dev environment. As per Microsoft's recommendations you should leave this option checked for normal debugging.

Debugging Options

No comments:

Post a Comment