如何自动启动调试器来调试Windows 7 64位32位应用程序? [英] How to launch debugger automatically to debug 32 bit applications on Windows 7 64 bit?

查看:747
本文介绍了如何自动启动调试器来调试Windows 7 64位32位应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我启动应用程序时,我试图让Windows自动启动调试器(如 msdn中描述)但是我收到以下错误:

I'm trying to have Windows automatically start the debugger when an application is launched (as described in msdn) however I'm getting the following error:


Visual Studio即时调试器没有通知应用程序正确启动

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

快速搜索这个人有同样的问题的建议是:


如果您运行的是Vista或Win7,则需要以管理员身份运行vsjitdebugger,否则您将收到该错误。

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 的属性我检查了运行此程序作为一个adm inistrator 复选框。现在我收到以下消息

I went to C:\Windows\System32\ and in the compatibility tab of vsjitdebugger.exe's properties I checked the Run this program as an administrator check box. Now I'm getting the following message


请求的操作需要升高

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位应用程序的一个64位操作系统相关。

I'm not sure if the fact that this is a 32 bit application on a 64 bit OS is relevant.

推荐答案

您应该以管理员身份运行应用程序(不要将vsjitdebugger.exe设置为以管理员身份运行) 。然后将出现安全警告,并在正常列表之后提供调试器以供选择。
在我的情况下,我不得不运行一个运行调试程序的管理员程序。

You should run your application as an administrator (don't setup vsjitdebugger.exe to run as administrator). Then you will be prompted with the security warning and after that normal list with debuggers to choose from. In my case I had to run as an administrator program which runs debugged program.

这篇关于如何自动启动调试器来调试Windows 7 64位32位应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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