64位调试器花费的时间比预期的要长(A 64-bit debugging operation is taking longer than expected)
在stackoverflow上找到解决方案的:
http://stackoverflow.com/questions/21329899/vs2013-professional-local-64-bit-debugging-msvsmon-issue
http://stackoverflow.com/questions/12252969/visual-studio-2012-a-remote-operation-is-taking-longer-than-expected
http://stackoverflow.com/questions/11179030/cant-start-debugger-in-vs2012-rc
我高票尝试了都不行,后来认真看了每个回答是,有一些低票的回答ZoneAlarm相关,就搜索了下这个ZoneAlarm,原来是款安全防火墙的软件,肯定把相关的访问禁止了,不清楚原因。我电脑上没有这款软件,我于是考虑把一个相关的也是防火墙的软件删除了,然后又
尝试了以下两个命令(run as admin)并重启计算机:
netsh winsock reset catalog
netsh int ip reset reset.log hit
然后,VS2013就能正常工作了。 相关原理并不清楚,说是,微软的Visual Studio都是32位的,如果要调试64位程序,必须通过一个MSVSMON.EXE一个程序来访问调试64位程序,并且默认的远程调试器是需要监听4016这个端口的,所以我怀疑是不是防火墙软件把这个端口禁用了什么的。这个玩意儿在VS的安装目录下:Microsoft Visual Studio XX.0\Common7\IDE\Remote Debugger\
摘一段国外网站上的话:
When using a firewall other than the Windows Firewall such as third party software firewall or a hardware firewall, the firewall must be manually configured to allow remote debugging. To do so, allow traffic on TCP/IP ports that msvsmon.exe is listening on. By default, these are port 4016 and 4017, where 4016 is used on all Operating Systems, and 4017 is used only on Windows x64 to allow debugging x86 processes."
相关文章
- 关于通过ruby互联网同步时间的几个思路
- 基于netty4.x开发时间服务器
- 程序员们的时间管理法则
- js获取当前时间戳加14天的时间戳
- C# string格式的日期时间字符串转为DateTime类型
- Windows系统时间转化为固定长度为8位的字符串
- Android NTP 时间同步机制详解
- Java 获取本地时间,并格式化年、月、日
- Android Calendar方法根据出生的时间戳获取当前年龄
- angular 过滤器(日期转换,时间转换,数据转换等)
- Qt笔记-当前时间转GMT并转换成英文(Qt构造http头中Date数据)
- 时间序列预测——深度好文,ARIMA是最难用的(数据预处理过程不适合工业应用),线性回归模型简单适用,预测趋势很不错,xgboost的话,不太适合趋势预测,如果数据平稳也可以使用。
- javascript常用代码【格式化时间日期】