简体   繁体   English

如何在服务模式下运行Visual Studio远程调试器

[英]How to run Visual studio remote debugger in service mode

我想在服务模式下运行Visual Studio 2005的远程调试器。在应用程序模式下运行良好,在服务模式下成功启动,但无法从远程系统连接。是否需要任何特殊设置? ..请帮帮我。

Check which user you have it running under as a service. 检查您将哪个用户作为服务运行。 The remote debugger requires that all users involved have admin permissions on both machines. 远程调试器要求所有参与的用户在两台计算机上都具有管理员权限。 If you're running under something like the "local service" user it won't have the required permissions. 如果您以“本地服务”用户身份运行,则将没有所需的权限。

Start by trying to run it as the same user as you ran it in app mode. 首先尝试以与您在应用程序模式下运行时相同的用户身份运行它。 If that works you know that your problem is to do with permissions. 如果可行,您知道您的问题与权限有关。

Also, try ticking the "allow service to interact with desktop" option. 另外,尝试勾选“允许服务与桌面交互”选项。 you probably won't want to leave it permanently like this, but it might allow it to report an error to you that will help you figure out what is going wrong. 您可能不希望这样永久保留它,但是它可能允许它向您报告错误,这将帮助您找出问题所在。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio 2019 远程调试器不会因异常而中断 - Visual Studio 2019 Remote Debugger not Breaking on Exceptions Visual Studio - 以编程方式将调试器附加到远程进程 - Visual studio - Attach debugger to remote process - programatically Visual Studio 2015远程调试器'未实现' - Visual Studio 2015 Remote Debugger 'not implemented' Visual Studio调试器未进入服务层 - Visual studio debugger not stepping into service layer 如何在Visual Studio中以调试模式运行NUnit? - How to run NUnit in debug mode from Visual Studio? 如何从Visual Studio以调试模式运行NUnit? - How do I run NUnit in debug mode from Visual Studio? Visual Studio调试器在混合调试模式下停止命中断点 - Visual Studio debugger stops hitting breakpoints in mixed debugging mode 在 IIS 上使用 Visual Studio 远程调试器调试 program.cs - debug program.cs using visual studio remote debugger on IIS 远程调试器比此版本的 visual studio 2019 旧 - The remote debugger is older than this version of visual studio 2019 是否可以在Visual Studio 2010 Express中集成远程调试器? - Is it posible to integrate a remote Debugger in visual studio 2010 Express?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM