visual-studio-2010debuggingattach-to-process

attach to process - visual studio 2010 - windows 2008


I have a web page running on localhost that I want to use to break-point in code in Visual Studio 2010. The web page is running in Internet Explorer. The OS is Windows 2008. When I go to attach to process under the debug menu in Visual Studio, the process w3wp.exe is not listed. The web page is being hosted on the same machine that I am using to develop. Shouldn't w3wp.exe be listed in the processes in Windows 2008 when a web page is running? Attaching to the Internet Explorer process doesn't work. Any help appreciated.


Solution

  • Are you running Visual Studio as an administrator? It's possible that the w3wp.exe process is running with different credentials than your user account. If that is the case then you won't be able to attach to the process and will have to run Visual Studio as an administrator in order to debug