[英]visual studio attach to process not working
I am trying to debug my production website using the code on my local system. 我正在尝试使用本地系统上的代码调试生产网站。 I am using VS2010, and tried all sorts of things still didn't work. 我正在使用VS2010,并尝试了各种方法后仍然无法正常工作。 I tried using VS Development Server, and tried using IIS still didn't work. 我尝试使用VS Development Server,但尝试使用IIS仍然无法正常工作。 When I attach the process debugger starts but break points were not hitting. 当我附加过程调试器时,但是没有达到断点。 I tried attaching process to W3wp process, and tried attaching it to IE also. 我尝试将进程附加到W3wp进程,并且还尝试将其附加到IE。 Still its not hitting break points. 仍然没有达到临界点。 Any idea whats causing this. 不知道是什么原因造成的。 Thanks 谢谢
Try clearing the settings of Visual Studio Tools->Import and Export Settings Wizard->Reset all settings->No…->next and set it 尝试清除Visual Studio工具的设置->“导入和导出设置向导”->“重置所有设置”->“否...”->“下一步”并进行设置
One more option, which worked for me is to open the VS in Safe Mode. 对我有用的另一个选择是在安全模式下打开VS。 It will 100% work: Open Windows Explorer, and navigate to \\Common7\\IDE; 它将100%起作用:打开Windows资源管理器,然后导航到\\ Common7 \\ IDE; Devenv /SafeMode: Launches the IDE in safe mode loading minimal windows. Devenv / SafeMode:以安全模式启动IDE,并加载最少的窗口。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.