Visual Studio远程调试:远程调试器不支持此版本windows [英] Remote debugging in visual studio: remote debugger does not support this edition of windows

查看:423
本文介绍了Visual Studio远程调试:远程调试器不支持此版本windows的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 VMware 工作站 7 和 Visual Studio 2010 Ultimate 中远程调试我的应用程序.我有好几张图片(win 7 Ultimate、vista 等).

I am trying to remote debug my application in VMware workstation 7 and Visual studio 2010 ultimate. I habe several images (win 7 ultimate,vista,etc).

我正在学习本教程:http://kristofmattei.be/2010/01/20/debugging-applications-in-virtual-machines-with-vmware-workstation-7-and-visual-studio-2008-sp1-2/

每当我尝试在远程计算机上启动 msvsmon.exe 时,它​​都会说:visual studio 远程调试器不支持这个版本的windows"

Whenever I try to start msvsmon.exe on the remote computer it will say : "The visual studio remote debugger does not support this edition of windows"

用 win 7 Ultimate、vista premium 和 xp home 试过,情况一样.

tried it with win 7 ultimate, vista premium and xp home, same situation.

有人可以帮我吗?

谢谢!

推荐答案

出现错误信息Visual Studio 远程调试器不支持此版本的 windows"是因为远程调试器默认尝试使用 Windows 身份验证,这是仅在 Windows 的专业版"及更高版本中受支持.

The error message "The visual studio remote debugger does not support this edition of windows" appears because the remote debugger tries to use Windows Authentication by default, and this is only supported in the "Pro" versions of Windows, and up.

但是,远程调试器确实适用于家庭"版本的 Windows,您只需告诉它不要通过命令行使用身份验证.

However, the remote debugger does work with the "Home" versions of Windows, you just have to tell it not to use authentication via the command line.

(为什么它不让您在不带任何参数的情况下启动它后执行此操作,为什么错误消息如此具有误导性(并且与支持的操作系统的官方列表相矛盾),以及为什么网络上关于此的信息如此之少,我不知道.:))

(Why it doesn't let you do this after launching it without any arguments, why the error message is so misleading (and contradicts the official list of supported OS), and why there is so little info about this on the web, I don't know. :))

要启动它,请运行:

msvsmon.exe /noauth /nosecuritywarn

当然,这会以最低安全模式启动它,因此您只想在安全网络上执行此操作.(但这通常是一种最终使用 msvcmon 的模式,因为另一种模式比正常情况下设置的 PITA 更大.非常有用的工具,但确实可以使用一些简化.)

Of course, this launches it in the lowest security mode, so you'd only want to do this on a secure network. (But that's usually the mode one ends up using msvcmon in anyway, as the other mode is an even bigger PITA to set up than it is normally. Very useful tool, but really could use some streamlining.)

这篇关于Visual Studio远程调试:远程调试器不支持此版本windows的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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