简体   繁体   English

远程调试器VS2012-无法连接

[英]Remote Debugger VS2012 - Cannot connect

I am trying to connect to a remote debugging monitor (VS2012). 我正在尝试连接到远程调试监视器(VS2012)。 Both PCs are 32bit Win7 machines. 两台PC均为32位Win7计算机。 I installed the monitor using the executables that Microsoft offers on their VS2012 download page (it is the update 2 version). 我使用Microsoft在其VS2012下载页面上提供的可执行文件(它是更新2版本)安装了监视器。
I created a user on the remote machine with the same name and passwort as my local user and tried to connect. 我在远程计算机上以与本地用户相同的名称和密码创建了一个用户,并尝试连接。 I can find the machine if I open up the monitor while VS2012 searches (but not if I initiate the search after running the debugging monitor), but when trying to connect, VS2012 gives me a "remote operation is taking longer than expected"-dialog and eventually tells me that it could not connect. 如果在VS2012搜索时打开监视器,则可以找到机器(但如果在运行调试监视器后启动搜索,则找不到),但是当尝试连接时,VS2012给我“远程操作花费的时间比预期的长”的对话框并最终告诉我它无法连接。 I teared down the firewalls on both PCs and I am running out of ideas what to try. 我拆除了两台PC上的防火墙,但我几乎没办法尝试。
I also tried to tear down the remote debugging security stuff, but the issue still persists. 我也尝试拆除远程调试安全性内容,但是问题仍然存在。
Also, the Debug Monitor won't save my changes regarding user permissions. 另外,调试监视器不会保存我有关用户权限的更改。 I can add a user to the list and it is still there when I reopen the dialog, but after restarting the program the changes are void. 我可以将用户添加到列表中,当我重新打开对话框时,该用户仍然存在,但是在重新启动程序之后,更改无效。 The dbug monitor is running with administrator privileges. dbug监视器以管理员权限运行。

Try setting these options in Remote Debugging Monitor: 1) No Authentication (native only), 2) Allow any user to debug. 尝试在“远程调试监视器”中设置以下选项:1)无身份验证(仅本机),2)允许任何用户进行调试。 In Visual Studio, in your project's Debugging properties, select "Remote Windows Debugger" and for Connection specify "Remote with no authentication (native only)". 在Visual Studio中,在项目的“调试”属性中,选择“远程Windows调试器”,并为“连接”指定“不进行身份验证的远程(仅本地)”。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM