ASP.NET Debugger Extension for IIS 7

ASP.NET Debugger Extension for IIS 7

  • Comments 10

Just finished writing an extension for IIS 7 that will provide advanced debugging features for IIS worker processes running managed code.

It basically does three things

1. Find Debug Modules

This feature will help you scan your website content to spot modules that have been built in debug mode.

2. Callstack Viewer

This feature will dump out the callstacks of all the threads in the process running managed code. It is basically a snapshot of all the managed threads in the worker process. This is helpful when you are troubleshooting worker process hangs / performance issues.

3. Trace Process for Debug Events

This feature will help in tracing useful events in the worker process. For example it can display callstacks whenever an exception occurs in the process.

image

image

 

This extension uses mdbgcore.dll to debug the IIS worker process.

INSTALLATION

Use “Run as Administrator” while launching the following installers.

x86 : adeInstallx86.msi

x64 : adeInstallx64.msi

Both the setup files are in this zip file.

DETAILED GUIDES

ASP.NET Debugger Extension – Find Debug Modules 

ASP.NET Debugger Extension – Callstack Viewer 

ASP.NET Debugger Extension – Trace Process for Debug Events 

ASP.NET Debugger Extension - Manual Install / Uninstall

If you have any suggestions / feedback / bugs I would love to hear about them.


Bookmark and Share

Attachment: adeInstall.zip
Leave a Comment
  • Please add 4 and 4 and type the answer here:
  • Post
  • I tried to install x64 version, but i failed with some unexpected error http://screencast.com/t/NcRrZaBzMgAo I ran this as admin. Is there any log file to check?

  • Getting the following error.  OS version: Windows 2008 (v 6.0 Build 6002: SP2)

    Product: ASP.NET Debugger Extension For IIS 7 (x64) -- Error 1720. There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor.  Custom action _65CA383B_03B4_49A1_864F_12303E217564 script error -2147023728, : Filename: \\?\C:\Windows\system32\inetsrv\config\administration.config

    Error: The configuration section 'moduleProviders' cannot be read because it is missing a section declaration

    Line 28, Column 5,  

  • Thank you for reporting this. The error was happening while launching a script from the installer on x64. I have made a change to the x64 package. Please download it again and try.

  • The x64 installation succeeded now, however I don't see any 'asp.net debugger' icon nor 'Other' section. http://screencast.com/t/nMAgqqtNSfm2 (It's in czech)

    Reboot doesn't work.

  • Stej please try to install it manually using this guide

    http://blogs.msdn.com/vijaysk/archive/2009/11/10/asp-net-debugger-extension-manual-install-uninstall.aspx

  • The manual install works, great!

    Why it failed (probably) - I ran the installer from TotalCmd which is 32bit process. Consequently the installer gained acces to syswow64 instead to system32. That's why the entries in my administration.config were missing.

    One typo: <modulesProvider> -> <moduleProviders>.

  • Dumb question... I installed and cannot find the UI displayed in your screen shots anywhere. Is this a stand-alone program or should I see it within IIS?

  • Actually, I did get it to show up in IIS - but I don't see any worker processes in the drop-down when I select "Callstack Viewer" - any suggestions?

  • Nevermind again - just had to reboot!

  • zip file can't download. error message `Sorry, there was a problem with your last request!' displayed.

Page 1 of 1 (10 items)