“抑制模块负载上的JIT优化"的作用是什么?调试选项? [英] What is the effect of "Suppress JIT optimization on module load" debugging option?

查看:59
本文介绍了“抑制模块负载上的JIT优化"的作用是什么?调试选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

"Suppress JIT optimization on module load"调试选项的作用是什么?

What is the effect of the "Suppress JIT optimization on module load" debugging option?

我最近不得不关闭它以处理能够成功调试使用COM组件的应用程序.

I have recently had to turn it off to deal to be able to successfully debug an app that uses a COM component.

关闭电源有什么风险?

推荐答案

禁止JIT优化意味着您正在调试未优化的代码.由于未对代码进行优化,因此代码的运行速度稍慢一些,但是您的调试经验会更加透彻.调试优化的代码更加困难,建议仅在遇到优化代码中出现但无法在非优化版本中复制的错误时才建议使用.

Suppressing JIT optimization means you are debugging non-optimized code. The code runs a bit slower because it is not optimized, but your debugging experience is much more thorough. Debugging optimized code is harder and recommended only if you encounter a bug that occurs in optimized code but cannot be reproduced in the non-optimized version.

如果清除在模块加载时禁止JIT优化"选项,则可以调试优化的JIT代码,但是由于优化的代码与源代码不匹配,因此调试能力可能会受到限制.结果,诸如本地和自动"窗口之类的调试器窗口显示的信息可能不如调试未优化的代码时显示的信息多.

If you clear the Suppress JIT optimization on module load option, you can debug optimized JIT code, but your ability to debug may be limited because the optimized code does not match the source code. As a result, debugger windows such as the Locals and Autos window may not display as much information as they would if you were debugging non-optimized code.

这篇关于“抑制模块负载上的JIT优化"的作用是什么?调试选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆