vs 2012 + IIS Express 无法DeBug 问题.....

baidu_23677379 2015-04-15 10:34:03
前阵子改变政策,为了开发环境干净
===============================================

开发环境
windows 7 64 Bit
vs 2012 Update 4
IIE 8.0 Express
完全切断外网、只有跟一台资料库主机有内网关系
无Admin权限,所以不能用 IIS

但是开发上发现问题
不知道为何要针对 List<T> 做DeBug完全无法执行........
DeBug时候
滑鼠游标不小心移到List<T>上面就会,开始转漏斗约等10秒就会出错....

本来怀疑是防毒软体影响的
测试结果发现不是

然后极度怀疑,微软会在有接网路线的情况下,可能会强制要连到它们主机做什么事情...

结果果然被我测出来
拔掉网路线的情况下... 就正常了....


可是不能拔网路线啊....这样内网资料库主机就连不到了=.=+

测试过关掉以下设定也没用
BeDug的设定
1. 微软符号伺服器 → 关闭
2. IntelliTrace → 启用

请问这有人遇过这个问题吗 ?
...全文
602 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
This book is a step-by-step tutorial to guide you through learning WCF, Entity Framework, LINQ, and LINQ to Entities. You will be guided to create six WCF and Entity Framework solutions from scratch, of which three are multi-layered real-world WCF service solutions, so you will not only be reading, but also be coding through the book, to gain practical experience of WCF and Entity Framework. Various test clients will be associated with each solution and all solutions can be built and run independently of other solutions. Clear instructions and relevant screenshots will make sure you won't get lost in the world of WCF and Entity Framework. Configuration files, host applications, test clients, and WCF services for each solution will also be available for download for you to examine, modify, and debug from the outside in. The book focuses on the essentials of using WCF and Entity Framework, rather than providing a reference to every single possibility. It leaves the reference material online where it belongs, and concentrates instead on practical examples, code, and advice. What will you learn from this book Create a WCF service without using the built-in WCF templates so you can understand what's going on under the hood. Host a WCF service in IIS Express, ASP.NET Development Server, managed applications, IIS, and Windows Service. Explore and learn different debugging options for a WCF service. Build a multi-layer real-world WCF service from scratch to understand every layer of a WCF service and apply it to your real work. Learn basic and advanced concepts and features of Entity Framework, LINQ, and LINQ to Entities. Apply LINQ to Entities to the data access layer of a WCF service with Self Tracking Entities. Control concurrent updates to the database with WCF and LINQ to Entities. Add distributed transaction support to a WCF service. Understand various security settings of WCF, and host a WCF service with Basic Authentication, SSL, and Windows Authentication. Explore extension points of WCF and extend a WCF service with custom behaviors.
使用说明图文版地址: 在Windows环境下编译、配置 eAccelerator 加速PHP 附eAccelerator.dll for php5.3.8 nts下载: http://www.oaxueyuan.com/compiled-in-a-windows-environment-configuration-eaccelerator-php-acceleration.html Win32下编译的IIS + PHP5.3.8 的 eAccelerator.dll 文件下载 eAccelerator.dll For 5.3.8 nts Windows: http://www.oaxueyuan.com/win32-compiles-under-iis-php5-3-8-of-eaccelerator-dll-download-eaccelerator-dll-for-5-3-8-ntswindows.html eAccelerator 配置参数详解: http://www.oaxueyuan.com/eaccelerator-configuration-parameters-explain.html 下面是文字版,如果您无法上网,可以参考下面资料: 在Windows环境下编译、配置 eAccelerator 加速PHP 附eAccelerator.dll for php5.3.8 nts下载 本文使用到的程序以及版本下载地址如下: (笔者使用fast-cgi模式运行php,请根据自己的实际情况进行相关的改动和配置,本文附件提供php5.3.6VC9nts以及php5.2.17vc6nts(使用VC6.0编译)编译后的 eAccelerator v0.9.6.1下载 。) Php5.3.6(VC9 x86 Non Thread Safe)下载地址:http://windows.php.net/download/ Php5.3.6源文件(PHP 5.3.6 (tar.bz2) 下载地址:http://www.php.net/downloads.php eAccelerator v0.9.6.1(源文件)下载地址:http://eaccelerator.net/ Visual Studio 2008 express下载地址:http://msdn.microsoft.com/zh-cn/express/ Nginx1.0.0 下载地址:http://nginx.org/en/download.html bison.exe 下载地址:http://gnuwin32.sourceforge.net/packages/bison.htm(此文附件也提供下载) ———————————————————– 好了,我们现在开始: 第一步、解压下载到得php5.3.6源文件包tar.bz2包到C盘c:/phpsrc,并且解压php5.3.6(VC9 x86 Non Thread Safe,也就是能够正常使用的php压缩包文件)到C:/php,我们只需要里面的一个文件C:/php/dev/ php5.lib,复制php5.lib到c:/phpsrc。 第二部、复制bison.exe到C:/Program Files/Microsoft Visual Studio 9.0/VC/bin(也就是Visual Studio 2008 express安装后的路径) 第三部、在这里我们开始生成生成config.w32.h。打开开始菜单找到Visual Studio 2008里面的命令提示,在里面操作: 进入:c:/phpsrc执行buildconf.bat, 建立一个临时环境变量 执行set path=%path%;C:/phpsrc/bin 执行 cscript /nologo configure.js –with-php-build=”../phpsrc” –without-libxml –disable-odbc –disable-zts 如果想要Thread Safe 模式就去掉上面的命令最后的参数 –disable-zts 然后看看是不是main下面多了一个 config.w32.h 第四步、在C:/phpsrc/ext下建立文件夹eaccelerator将eAccelerator v0.9.6.1(源文件)解压后里面的全部文件复制到C:/phpsrc/ext/eaccelerator文件夹内,启动Visual Studio 2008打开C:/phpsrc/ext/eaccelerator/win32/eAccelerator.dsw文件,点击Visual Studio 2008菜单“生成->配配置管理器-活动解决方案配置-Release-NTS-关闭”–>“生成->生成eAccelerator” OK,这时候你会发现C:/phpsrc/ext/eaccelerator/win32/Release里面已经生成了一个eAccelerator.dll文件,将此文件复制到c:/php/ext里面即可现在这个文件已经能够使用了,并且是根据你现在正在使用的php版本生成的eAccelerator。 ————————————————————– 下面是配置eAccelerator,在C盘建立目录eAccelerator 打开PHP.INI 在文件最末增加以下代码: [eAccelerator] zend_extension=”C:/php-5.3.8-nts-Win32-VC9-x86/ext/eAccelerator.dll” eaccelerator.shm_size=”128″ eaccelerator.cache_dir=”C:/phpcache/eAcceleratorCache” eaccelerator.enable=”1″ eaccelerator.optimizer=”1″ eaccelerator.check_mtime=”1″ eaccelerator.debug=”0″ eaccelerator.filter=”" eaccelerator.shm_max=”0″ eaccelerator.shm_ttl=”3600″ eaccelerator.shm_prune_period=”3600″ eaccelerator.shm_only=”0″ eaccelerator.compress=”1″ eaccelerator.compress_level=”9″ eaccelerator.keys=”disk_only” eaccelerator.sessions=”disk_only” eaccelerator.content=”disk_only” ;这是控制面板的地址,安装包里有个control.php,你把它复制到网站的任意目录,可以用它查看和管理,这个必须指定,否则查看缓存内容的时候会出错 eaccelerator.allowed_admin_path=”C:/websites/eaccelerator” 关于eAccelerator的详细配置请查阅:www.oaxueyuan.com/eaccelerator-configuration-parameters-explain.html 重新启动php-cgi.exe,OK,配置完成! 附件下载: 注意,编译本文件,必须使用VS 2008 ,即编译为VC9的版本,不然在系统日志里会报错,上一个版本我是用VS2010编译的,出错信息为: “弹出应用程序: Warning: PHP Startup: eAccelerator: Unable to initialize module Module compiled with build ID=API20090626,NTS,VC10 PHP compiled with build ID=API20090626,NTS,VC9 These options need to match 有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持” 有关Zend配置部分,说参阅OA学院 http://www.oaxueyuan.com

1,265

社区成员

发帖
与我相关
我的任务
社区描述
软件工程/管理 管理版
社区管理员
  • 研发管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧