无法在Visual Studio 2019中使用实时调试程序 [英] Unable to use Just-In-Time debugger in Visual Studio 2019

查看:958
本文介绍了无法在Visual Studio 2019中使用实时调试程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试打开即时调试时,我在窗口底部看到一条警告消息:"另一个调试器已将自己注册为实时调试器。" ;通过启用即时调试或运行Visual Studio
repair"修复。 如果我忽略它并尝试保存,我会弹出一个错误的弹出窗口:"无法应用即时调试的设置。  Visual Studio即时调试器注册需要修复,而Visual Studio没有
具有运行注册所需的权限。 要启用即时调试,请以管理员身份运行Visual Studio rus并启用即时调试或在修复模式下运行Visual Studio安装程序"。

When I try to turn on Just-In-Time debugging, I see a warning message at the bottom of the window that reads, "Another debugger has registered itself as the Just-In-Time debugger.  Fix by enabling Just-In-Time debugging or running Visual Studio repair".  If I ignore it and try to save, I get a popup window with the error: "Settings for Just-In-Time debugging could not be applied.  Visual Studio Just-In-Time Debugger registration needs to be repaired, and Visual Studio does not have the necessary privileges to run the registration.  To enable Just-In-Time debugging, run Visual Studio rus as an administrator and enable Just-In-Time debugging or run Visual Studio setup in repair mode".

我已尝试运行修复几次但继续得到同样的结果。 我也有Visual Studio 2017,它完全一样。

I have tried running repair several times but continue to get this same result.  I also have Visual Studio 2017 and it is doing exactly the same thing.




推荐答案

时间调试器已在Windows注册表中注册。
This
告诉你哪些注册表项控制调试器。

The just in time debugger is registered in the Windows registry. This tells you what registry keys control the debugger.

我的建议是通过删除它告诉你的4个注册表项来禁用注册表中的调试器。 (如果您使用的是32位系统,则为2)。在此之后,以管理员身份运行Visual Studio并尝试再次启用调试。

My suggestion would be to disable the debugger in the registry by deleting the 4 registry entries that it tells you to. (2 if you are on a 32 bit system). After this, run Visual Studio as an administrator and try enabling just in time debugging again.

如果这不起作用那么说实话我会建议您重新安装/重新映像计算机。处理注册表错误可能非常痛苦,只需重新安装通常是最简单的选择。

If this doesn't work then to be honest I would suggest you reinstall/reimage the computer. Registry errors can be really painful to deal with and just reinstalling is often the easiest option.


这篇关于无法在Visual Studio 2019中使用实时调试程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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