简体   繁体   English

VS2013专业本地64位调试MSVSMON问题

[英]VS2013 Professional local 64-bit debugging MSVSMON issue

Every time I attempt to start a local debugging session in VS2013 Professional on a Windows 8 64-bit machine, I receive the following error: 每次我尝试在Windows 8 64位计算机上的VS2013 Professional中启动本地调试会话时,都会收到以下错误:

操作时间超过预期

"A 64-bit debugging operation is taking longer than expected. This may be caused by incompatibilities with 3rd party networking software. See help for troubleshooting these issues." “64位调试操作的时间比预期的要长。这可能是由于与第三方网络软件不兼容造成的。请参阅帮助以解决这些问题。”

followed shortly by: 紧接着是:

启动调试会话时收到的错误消息

"Unable to start program. The Microsoft Visual Studio Debugging Monitor (MSVSMON.EXE) does not appear to be running on the remote computer Please see Help for assistance on configuring remote debugging" “无法启动程序。Microsoft Visual Studio调试监视器(MSVSMON.EXE)似乎没有在远程计算机上运行请参阅帮助以获取有关配置远程调试的帮助”

To start the debugging session, I press the "Local Windows Debugger" button: 要启动调试会话,请按“Local Windows Debugger”按钮:

“本地Windows调试器”按钮

Nothing scary there: definitely not remote debugging. 没有什么可怕的:绝对不是远程调试。

Things I've tried: 我试过的事情:

  • Installing the Remote Tools for Visual Studio 2013 安装Visual Studio 2013远程工具
  • Running these tools whilst attempting to debug. 在尝试调试时运行这些工具。
  • Following the instructions on this SO answer . 按照这个SO答案的说明。
  • Turning off my ZoneAlarm firewall completely (although running MSVSMON.EXE manually does not cause it to ask me for permissions... Is it even running a server?) 完全关闭我的ZoneAlarm防火墙(虽然手动运行MSVSMON.EXE不会导致它询问我的权限......它是否甚至运行服务器?)
  • Adding an exception to the Windows Firewall for the monitor 为监视器的Windows防火墙添加例外
  • Setting MSVSMON.EXE to "No Authentication" mode 将MSVSMON.EXE设置为“无身份验证”模式
  • Checking my "HOSTS" file: Only comments. 检查我的“HOSTS”文件:只有评论。
  • Restarting 重新启动

Further symptoms: 进一步症状:

  • Only happens when debugging 64-bit software. 仅在调试64位软件时发生。
  • Happens no matter what language (C++, C# both have the same issue) 无论用什么语言都会发生(C ++,C#都有相同的问题)

Any help in resolving this would be great. 解决这个问题的任何帮助都会很棒。

Thanks. 谢谢。

You can try also to enable incoming UDP 3702 您也可以尝试启用传入的UDP 3702

The windows firewall has a rule described as so: Windows防火墙的规则如下:

Inbound rule to allow Visual Studio to discover remote debuggers running on the local network [UDP 3702] 允许Visual Studio发现在本地网络上运行的远程调试程序的入站规则[UDP 3702]

Good Luck 祝好运

This setting "Enable 64-bit process for Enhanced protected mode" in Internet Explorer caused my trouble. Internet Explorer中的此设置“为增强保护模式启用64位进程”导致了我的麻烦。 Silverlight 64 bit cannot be debugged. Silverlight 64位无法调试。 Turn it off. 把它关掉。

在此输入图像描述

Turning off my ZoneAlarm firewall completely (although running MSVSMON.EXE manually does not cause it to ask me for permissions... Is it even running a server?) 完全关闭我的ZoneAlarm防火墙(虽然手动运行MSVSMON.EXE不会导致它询问我的权限......它是否甚至运行服务器?)

Unfortunately this does not work. 不幸的是,这不起作用。

Only uninstalling ZoneAlarm and then rebooting seems to help, at least on my system using Windows 8.1. 只卸载ZoneAlarm然后重新启动似乎有帮助,至少在我的系统上使用Windows 8.1。

I ran into this with Zone Alarm as well. 我也遇到了Zone Alarm。 In my case I added an exception for the Visual Studio 12.0 folder in Program Files and another exception for both devenv.exe and msvsmon.exe (in the Remote Debugger\\x64 folder) as Trusted Processes. 在我的例子中,我为Program Files中的Visual Studio 12.0文件夹添加了一个例外,并将devenv.exe和msvsmon.exe(在Remote Debugger \\ x64文件夹中)的另一个例外添加为Trusted Processes。 I don't get the Windows message box about the operation taking to long anymore. 我没有得到关于操作的Windows消息框了。

I would have commented on an answer higher up but I don't have 50 reputation yet, so this gets a new answer for it. 我会评论一个更高的答案,但我还没有50个声誉,所以这得到了一个新的答案。

I met the same problem, and Finally make it work:) 我遇到了同样的问题,最后让它工作:)

I've tried all solution that I can find on the internet, none of them worked for me. 我已经尝试了我可以在互联网上找到的所有解决方案,但它们都没有为我工作。 (I'm using win7 + vs2013) (我正在使用win7 + vs2013)

I noticed "64bit debugging...", and the problem happens when debugging a 64bit program, Since I'm targeting to x86 anyway, so my solution is: 我注意到“64位调试......”,调试64位程序时出现问题,因为我的目标是x86,所以我的解决方案是:

Project properties -> Build -> "Platform target" switch to "x86". 项目属性 - >构建 - >“平台目标”切换到“x86”。

It worked for me! 它对我有用! And you can always switch back to "x64" or "Any CPU" anytime you want.This saved me a lot of time! 您可以随时切换回“x64”或“任何CPU”。这为我节省了大量时间!

If you have IDM (Internet Download Manager) installed, and if you have enabled "Advanced Browser Integration" in it, do disable that "Advanced Browser Integration" feature. 如果安装了IDM(Internet Download Manager),并且已启用“高级浏览器集成”,请禁用“高级浏览器集成”功能。 It shall solve the problem. 它应该解决问题。 It did for me..!!! 它对我有用.. !!!

For me the solution posted by Parliament here solved the issue. 对于我发表国会解决问题得到了解决。

Don't understand what's the problem exactly since the url resolves to the local host anyway. 不知道究竟是什么问题,因为url无论如何都会解析为本地主机。 Maybe the agent is required for doing that resolution... 执行该决议可能需要代理人......

The solution posted by chaithanya itself may also solve the problem by installing the Remote Tools for Visual Studio . chaithanya本身发布的解决方案也可以通过安装Visual Studio远程工具来解决问题。 But I didn't want to give it a change to break the remote abilities I need in Visual Studio Tools for Apache Cordova for iOS apps. 但是我不想给它做一些改变来打破我在Visual Studio Tools for Apache Cordova for iOS apps中所需的远程功能。

I had this problem when running a VPN and it went away after turning the VPN off. 运行VPN时我遇到了这个问题,关闭VPN后它就消失了。 It has something to do with how MS does 64-bit same machine debugging, the network plays a role and VPN interferes. 它与MS如何进行64位相同的机器调试,网络起作用以及VPN干扰有关。 I looked this problem up on the MS site and it was acknowledged as a bug, but I'm guessing not enough of us need this to work for a fix to come along. 我在MS网站上看到了这个问题并且它被认为是一个错误,但我猜我们还不够,我们需要这个来修复工作。 I just turned my VPN off, not a problem for me. 我刚关闭了VPN,对我来说不是问题。 (VS2013) (VS2013)

Setup: Visual Studio 2013 Community edition with update 5, Windows 7, 64 bit 安装程序:Visual Studio 2013社区版,更新5,Windows 7,64位

Problem: Only 64bit debugging not working. 问题:只有64位调试无法正常工作。 Also, only started happening since installing ZoneAlarm firewall and AVG antivirus. 此外,自从安装ZoneAlarm防火墙和AVG防病毒软件后才开始发生。

Error Message: 错误信息:

"Microsoft Visual Studio Debugging Monitor (MSVSMON.exe) failed to start. If the problem persists try repairing..." “Microsoft Visual Studio调试监视器(MSVSMON.exe)无法启动。如果问题仍然存在,请尝试修复...”

SOLUTION that worked for me: 解决方案对我有用:

My solution was to make the devenv.exe and msvsmon.exe "run as administrators". 我的解决方案是使devenv.exemsvsmon.exe “以管理员msvsmon.exe运行”。

Somehow the new firewall / antivirus (was running McAfee before but subscription expired) managed to reduce the rights of my devenv.exe and/or msvsmon.exe 不知何故,新的防火墙/防病毒软件(之前运行McAfee但订阅已过期)设法减少了我的devenv.exe和/或msvsmon.exe的权限

Turning off firewall solves the issue. 关闭防火墙可以解决问题。 I was working on Visual Studio 2015 我正在研究Visual Studio 2015

I had this problem in VS 2015 and fix it by changing IDM settings. 我在VS 2015中遇到了这个问题并通过更改IDM设置来修复它。

  1. Open the IDM(Internet download manager) 打开IDM(Internet下载管理器)
  2. press Downloads menu. 按下载菜单。
  3. in general tab remove the check on 'Use advanced browser integration' 在常规选项卡中删除对“使用高级浏览器集成”的检查

I hope your problem fix with this solution. 我希望你的问题能解决这个问题。 use this helpful picture. 使用这张有用的图片。

Try to restart your app_pool. 尝试重新启动app_pool。 It happens to me quite often on VS2015. 它在VS2015上经常发生在我身上。 I guess I have some projects targeting 32 bit and some targeting 64 bit in my solution, that causes this. 我想我的解决方案中有一些针对32位且一些针对64位的项目,这导致了这一点。

Here at work, we have high claims in firewall and proxy, my solution to this problem was just run as administrator. 在这里工作,我们在防火墙和代理中有很高的要求,我对这个问题的解决方案只是以管理员身份运行。 Hope it helps someone 希望它可以帮助某人

Installing "Remote Tools for VS 2015" from Microsoft website solved the issue for me. 从Microsoft网站安装“VS 2015远程工具”为我解决了这个问题。

Found the answer here ! 这里找到答案!

While debugging today got the same error message 虽然今天调试得到了相同的错误消息

A 64-bit debugging operation is taking longer than expected. 64位调试操作的时间比预期的要长。 This may be caused by incompatibilities with 3rd party networking software. 这可能是由与第三方网络软件不兼容引起的。 See help for troubleshooting these issues. 请参阅帮助以解决这些问题。

In my case, just REBOOTING THE COMPUTER solved the problem. 就我而言,重新启动计算机解决了这个问题。 I recommend trying this first. 我建议先试试这个。

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

相关问题 使用WCF在VS2013中进行调试 - Debugging in VS2013 with WCF vs2013 64bit中的AccessViolation异常不是vs2010 64bit中的 - AccessViolation Exception in vs2013 64bit not vs2010 64bit VS Code 1.19.3调试.net core 2并始终满足“只能调试64位进程” - VS Code 1.19.3 debugging .net core 2 and always meet “Only 64-bit processes can be debugged” 将VSTO 4.0 Excel Addin从Windows 7上的VS2013 Ultimate转换为Windows 10上的VS2013 Professional - Conversion of VSTO 4.0 Excel Addin from VS2013 Ultimate on Window 7 to VS2013 Professional on Windows 10 Azure存储队列:vs2013将队列显示为空,尽管从本地计算机进行调试时peek显示了一条消息 - Azure Storage Queue: vs2013 shows queue as empty although peek shows a message while debugging from local machine VS2013调试期间断点处的高CPU使用率 - VS2013 high CPU usage at break point during debugging 尝试在VS2013中以调试模式编辑代码时出错 - Error while trying to edit code in debugging mode in VS2013 了解.Net中的32位与64位 - Understanding 32-bit vs 64-bit in .Net 带有VS2013和C#的Premake(v5):“ x64”平台未设置为64位或无法在解决方案的配置管理器中构建 - Premake (v5) with VS2013 and C#: “x64” platforms not being set to 64 bit OR to even build within the solution's configuration manager 在VS2013中从网站访问本地文件 - Accessing Local file from Web Site in VS2013
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM