没有指定注册的 JIT 调试器
No registered JIT debugger was specified
我尝试调试我的应用程序,我在代码中设置了 Debugger.Launch();
,但是当进程到达此代码时,出现消息
No registered JIT debugger was specified.
Click on Retry to have the process wait while attaching a debugger manually.
Click on Cancel to abort the JIT debug request.
请关闭您身边的 JIT 调试。
https://msdn.microsoft.com/en-us/library/5hs4b7a6.aspx
注意:您需要运行您的 VS 作为管理员。
一个可能的原因是你这边有crashed or unhanded exception导致弹出JIT debugging。所以你需要禁用JIT调试并在你身边找到真正的原因。
我开始使用 VS 安装程序修复 Visual Studio,它很有帮助。
我尝试在安装了 VS 2019 的机器上调试,但它没有安装 JIT 组件,因此我也得到了“没有指定注册的 JIT 调试器。”消息。
我不得不修改 VS 2019 安装并在 Individual components -> Debugging and Testing -> [= 下添加 JIT 调试器16=]即时调试器。
我添加后,可以调试了
我尝试调试我的应用程序,我在代码中设置了 Debugger.Launch();
,但是当进程到达此代码时,出现消息
No registered JIT debugger was specified. Click on Retry to have the process wait while attaching a debugger manually. Click on Cancel to abort the JIT debug request.
请关闭您身边的 JIT 调试。
https://msdn.microsoft.com/en-us/library/5hs4b7a6.aspx
注意:您需要运行您的 VS 作为管理员。
一个可能的原因是你这边有crashed or unhanded exception导致弹出JIT debugging。所以你需要禁用JIT调试并在你身边找到真正的原因。
我开始使用 VS 安装程序修复 Visual Studio,它很有帮助。
我尝试在安装了 VS 2019 的机器上调试,但它没有安装 JIT 组件,因此我也得到了“没有指定注册的 JIT 调试器。”消息。
我不得不修改 VS 2019 安装并在 Individual components -> Debugging and Testing -> [= 下添加 JIT 调试器16=]即时调试器。
我添加后,可以调试了