Setup: Install Debugging Tools for Windows – for WinDbg Install and configure CSharpGuitarBugs on an IIS server as described in Lab 1 Place PROCDUMP executable on the IIS Server Review memory dump collection process for W2K8 and W2K12 Lab 21.1 Open the main page of the CSharpGuitarBugs website so that a W3WP process is instantiated […]
Read More →Tags: WinDbg
Lab 20: Debugging a low CPU hang W3WP process using WinDbg
Setup Install Debugging Tools for Windows – For WinDbg Install and Configure CSharpGuitarBugs on an IIS server as described in Lab 1 Place PROCDUMP executable on the IIS Server Review Memory Dump using PROCDUMP on 2008R2 or 2012R2: Lab Open the CSharpGuitarBugs website Click on the ‘Enter Payment Information’ link and note about how long […]
Read More →Lab 19: Debugging a high CPU hang W3WP process using WinDbg
Setup Install Debugging Tools for Windows – For WinDbg Install and Configure CSharpGuitarBugs on an IIS server as described in Lab 1 Place PROCDUMP executable on the IIS Server Read this HOW TO here. Read about the !runaway command here and copy dbghelp.dll into the c:\temp directory Lab Open Task manager so that the CPU […]
Read More →Lab 18: Debugging a handled and unhandled exception
In this lab you will use procdump to view exceptions and capture a memory dump when an exception happens. Setup Install Debugging Tools for Windows – For WinDbg Install and Configure CSharpGuitarBugs on an IIS server as described in Lab 1 Place PROCDUMP executable on the IIS Server Read this article here about the –f […]
Read More →Why is my ASP.NET application recycling, restarting
When you are experiencing slowness with your ASP.NET application, one place to check is if the application is being recycled. If the application is being recycled over and over again, then sessions and application settings are lost and it has a pretty big impact on your users and customers. A place to begin your investigation […]
Read More →Debugging a W3WP memory dump of a slow performing ASP.NET Azure Web App
I wrote an article here about how to capture a memory dump of the W3WP process that runs your Azure Web App. Once you get the Memory dump, here are the steps you need to find out what the reason for the slow performance is. First, I open the W3WP dump in WinDbg, as shown […]
Read More →Why does my !runaway command not work
Sometimes when I execute: !runaway in WinDbg I receive the following error: ERROR: !runaway: extension exception 0x80004002. “Unable to get thread times – dumps may not have time information” The error message says it all, but how do you fix it. In my case ProcDump was used to create the dump and it appears that […]
Read More →Using !DumpThreadConfig (!dtc) within WinDbg
I have written articles about how to capture a W3WP memory dump on Windows 2003 and Windows 2008. Once you have the memory dump, you need to analyze it to find out what is causing the problem. One command I use while analyzing a memory dump is !DumpThreadConfig or !dtc. Figure 1 shows the output […]
Read More →