gpt4 book ai didi

debugging - 如何在 Windows 7 64 位上自动启动调试器来调试 32 位应用程序?

转载 作者:行者123 更新时间:2023-12-02 22:58:43 25 4
gpt4 key购买 nike

我试图让 Windows 在应用程序启动时自动启动调试器(如 described in msdn ),但出现以下错误:

The Visual Studio Just-In-Time Debugger was not notified that the application correctly started

快速搜索发现this person with the same problem建议是:

If you are running Vista or Win7 you need to run vsjitdebugger as an administrator or you will get that error.

我转到C:\Windows\System32\,并在vsjitdebugger.exe属性的兼容性选项卡中检查了将此程序作为管理员复选框。现在我收到以下消息

The requested operation requires elevation

随后

Can't open this item
It might have been moved, renamed, or deleted. Do you want to remove this item?

我不确定这是 64 位操作系统上的 32 位应用程序这一事实是否相关。

最佳答案

您应该以管理员身份运行应用程序(不要将 vsjitdebugger.exe 设置为以管理员身份运行)。然后,系统将提示您安全警告,然后是正常列表,其中包含可供选择的调试器。就我而言,我必须作为运行调试程序的管理员程序运行。

关于debugging - 如何在 Windows 7 64 位上自动启动调试器来调试 32 位应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6677161/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com