简体   繁体   English

Visual Studio附加到进程不起作用

[英]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 谢谢

What you want to do is called "Remote Debugging". 您要执行的操作称为“远程调试”。

Here is an MSDN link to get you started: MSDN 这是一个MSDN链接,可帮助您入门: MSDN

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.

相关问题 附加到进程在Windows 7中的Visual Studio 2008中不起作用 - Attach to Process is not working in Visual studio 2008 in Windows 7 自动附加到Visual Studio中的进程 - Automatically attach to process in Visual Studio Visual Studio 2010附加到进程失败 - Visual Studio 2010 attach to process fails Visual Studio必须附加哪个进程来运行DNX进程? - Which process Visual Studio has to attach to run DNX process? 在Visual Studio 2012 Express for Web中找不到“附加到进程”选项 - Cannot find “Attach to Process” option in Visual Studio 2012 Express for Web Visual Studio 2012:无法附加进程。 已附加调试器 - Visual Studio 2012: Unable to attach the process. A debugger is already attached 附加到进程不起作用 - Attach to process not working 如何在Visual Studio的“附加到进程”对话框中获取w3wp.exe进程? - How do I get w3wp.exe process available in the 'Attach to Process' dialogue in Visual Studio? Visual Studio 2010 Web Developer Express Tools.Attach to Process不存在 - Visual Studio 2010 Web Developer Express Tools.Attach to Process is not exists 如何避免在Windows XP的Visual Studio 2008中不必要地使用“附加到进程”? - How to avoid the unwanted use of “Attach to the process ” in Visual Studio 2008 in Windows XP?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM