Cannot attach debugger to w3wp

后端 未结 9 1034
故里飘歌
故里飘歌 2020-12-16 10:02

I\'m debugging an ASP.NET application but sometimes cannot find w3wp neither in Visual Studio process list (Menu: Debug -> At

相关标签:
9条回答
  • 2020-12-16 10:35

    I don't how, but there appeared to be an extra application tied to the app pool I was using. Try creating a new app pool and point your application to the newly created app pool. Double check there is only 1 application with your new app pool.

    0 讨论(0)
  • 2020-12-16 10:36

    Same thing was happening to me, when i remembered that IIS has an idle timeout! As above the proc w3wp is running, but VS2010 looks at it in the sleep state and thinks its not running, so dos'nt show it in the list...

    spinning up IIS [calling a site served from locahost in your favourite web browser] reactivates IIS and suddenly VS can see the process [w3wp] now too

    NOTE - must ask MS to ignore the sleep state of IIS/w3wp and if it is in sleep mode - cause it to automatically wake up!

    thanks

    0 讨论(0)
  • 2020-12-16 10:38

    THe same thing happened to me. After an update I couldnt find the W3WP! I realized that it didnt show all the processes. Checking the checkbox 'Show processes from all user' was required.

    0 讨论(0)
提交回复
热议问题