无需管理员身份即可在本地调试 x64 程序

发布于 2024-11-05 02:39:27 字数 643 浏览 0 评论 0原文

在过去的几年里,我一直以有限用户的身份登录我的电脑并以这种方式调试应用程序。现在,我正在迁移到 x64 位应用程序,但我无法执行此操作并收到如下所示的对话框错误。当然,这不是真正的问题,因为服务运行得很好。如果我注销并以管理员身份登录,我可以正常调试,就像对 32 位进程所做的那样。

由于 x64 调试目前正在使用远程调试技术,有谁知道无需管理员即可执行此操作的方法吗?

VS2008错误:

<块引用>

无法启动程序 “C:\PathToDebug\my.exe” Microsoft Visual Studio 远程调试监视器 (MSVSMON.EXE) 失败 开始。验证远程 调试器已正确安装。

<强>!!!编辑!!!

<块引用>

抱歉,我发现了错误。我使用非常安全的环境,LUA + SRP,由于某种原因,必须为“C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\Remote Debugger\x64\msvsmon.exe”添加附加规则,一切都很好现在。

For the past several years I have been logging into my PC as a limited user and debugging applications this way. Now that I'm making the move to x64 bit applications, I'm unable to do this and get a dialog error as shown below. Of course this is not the real problem as the service is running just fine. If I log off and log in as admin I can debug normally just like I do for a 32 bit process.

Since x64 debugging is currently making use of remote debugging techniques, does anyone know a way to do this without being administrator?

VS2008 Error:

Unable to start program
"C:\PathToDebug\my.exe"
Microsoft Visual Studio Remote Debugging Monitor (MSVSMON.EXE) failed
to start. Verify that the remote
debugger is properly installed.

!!! EDIT !!!

Sorry, I found the error. I use a very secure environment, LUA + SRP, and for some reason an additinal rule must be added for "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\Remote Debugger\x64\msvsmon.exe" All is good now.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

放肆 2024-11-12 02:39:28

抱歉,我发现了错误。我使用非常安全的环境,LUA + SRP,由于某种原因,必须为“C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\Remote Debugger\x64\msvsmon.exe”添加附加规则,一切都很好现在。

Sorry, I found the error. I use a very secure environment, LUA + SRP, and for some reason an additional rule must be added for "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\Remote Debugger\x64\msvsmon.exe" All is good now.

冷︶言冷语的世界 2024-11-12 02:39:28

很有可能没有为“所有用户”安装 x64 程序。执行安装时,有时您会在安装文件之前看到此选项。这可能与 x64 架构无关,而是文件权限错误。

安装应用程序时,最好以管理员身份安装并首先为所有用户启用它。那么作为受限用户,就不会出现文件权限错误。

It's a strong possibility that the x64 program was not installed for "all users". When performing the installation, sometimes you see this option before installing the files. This is likely not related to x64 architecture but instead a file permissions error.

When installing applications it's best to install as the ADMIN and enable it for all users first. Then as a limited user there are no file permission errors.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文