Поделиться через


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.

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

adeInstall.zip

Comments

  • Anonymous
    November 04, 2009
    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?

  • Anonymous
    November 04, 2009
    The comment has been removed

  • Anonymous
    November 05, 2009
    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.

  • Anonymous
    November 08, 2009
    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.

  • Anonymous
    November 09, 2009
    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

  • Anonymous
    November 09, 2009
    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>.

  • Anonymous
    February 16, 2010
    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?

  • Anonymous
    February 16, 2010
    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?

  • Anonymous
    February 16, 2010
    Nevermind again - just had to reboot!

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