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 →Category: Debugging
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 →Lab 15: Debug Diagnostics
Setup Setup the CSharpGuitarBugs web site as described in Lab 1 and Lab 2. Download and install most recent version of Debug Diagnostics,from here. Also check debugdiag.com Instructions Debugging a process crash is a challenging activity. Although you know the exception type, the exceptions error message and you know the method that it is being […]
Read More →How to take a memory dump from a specific App Service instance
I wrote this article that discussed how to monitor the different instances of an Azure App Service. As you know, when you access the KUDU console, as I discussed here, you are accessing only 1 of the multiple instances, which may or may not be having a problem. So, if you take a memory dump […]
Read More →HTTP 500 Azure App Service Web App
When accessing your Azure App Service Web App, if you receive an HTTP 500 response, similar to that shown in Figure 1, first step is to add or modify the customErrors attribute and set the mode property to Off, as shown in Figure 2. Figure 1, Azure Web App returns a 500 Figure 2, change […]
Read More →Creating a W3WP memory dump on Windows Server 2012 R2
On a web server with multiple application pools, there most likely will be multiple W3WP processes. Therefore, the first action to take when creating a memory dump of a W3WP worker process is to find which one you need to get the dump of. I wrote a short article on how to get a worker […]
Read More →Analyze a memory dump using the Debug Diagnostic tool
Once you have captured a memory dump, instead of, or in addition to using WinDbg to analyze the memory dump, you can use a tool called DebugDiag which can be downloaded here. I discuss how to capture a memory dump in numerous ways here. After installing the debugging tool, make sure have opened the Debug […]
Read More →Create a W3WP memory dump, quick and easy
I have written a number of articles on how to create memory dumps for troubleshooting W3WP process hangs, crashes or memory consumption issues. Create a memory dump when the W3WP process terminates using Procdump Creating a W3WP Memory dump on Windows Server 2003 Creating a W3WP Memory dump on Windows Server 2008 R2 Configure Debug […]
Read More →Create a memory dump for your slow performing Web App
There are numerous ways to create a memory dump for a slow performing Web App, but I find this one the simplest and quickest. Follow these steps to capture a memory dump of the W3WP process responding to requests which are slower than expected. Here are the steps: Login to your KUDU console. I wrote […]
Read More →