IT:AD:Infrastructure:IIS:HowTo
Situation
You are debugging an application by Attaching to its IIS W3wp.exe process. It's taking some time to find the cause – but the process keeps on detaching before you find it.
Solution
- Using INETMGR
- Go to the Application's
- Find its AppPool,
- Click Advanced
- Set Ping to Disabled.
Warning
Don't forget that while debugging, you're breakpoints are holding up requests by others (eg: Testers) that might be using the website on the same box.