简体   繁体   中英

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. I tried using VS Development Server, and tried using IIS still didn't work. 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. 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

Try clearing the settings of Visual Studio Tools->Import and Export Settings Wizard->Reset all settings->No…->next and set it

One more option, which worked for me is to open the VS in Safe Mode. It will 100% work: Open Windows Explorer, and navigate to \\Common7\\IDE; Devenv /SafeMode: Launches the IDE in safe mode loading minimal windows.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM