ASP.NET Debugger Extension for IIS 7

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.




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


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

x86 : adeInstallx86.msi

x64 : adeInstallx64.msi

Both the setup files are in this zip file.


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

Comments (10)
  1. stej says:

    I tried to install x64 version, but i failed with some unexpected error I ran this as admin. Is there any log file to check?

  2. kevin says:

    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:Windowssystem32inetsrvconfigadministration.config

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

    Line 28, Column 5,  

  3. Shinva says:

    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.

  4. stej says:

    The x64 installation succeeded now, however I don’t see any ‘ debugger’ icon nor ‘Other’ section. (It’s in czech)

    Reboot doesn’t work.

  5. stej says:

    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>.

  6. Ryan Moore says:

    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?

  7. Ryan Moore says:

    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?

  8. Ryan Moore says:

    Nevermind again – just had to reboot!

  9. Fizz says:

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

Comments are closed.

Skip to main content