Over a million developers have joined DZone.

DebugDiag v2 is Now Out

DZone's Guide to

DebugDiag v2 is Now Out

· ·
Free Resource

Debug Diagnostic Tool - DebugDiag 2.0 is now RTW

The DebugDiag development team is very excited to announce the general availability of DebugDiag 2.0. The long waited DebugDiag 2.0 comes now with the new analysis engine fully converted to .NET to allow for faster analysis rule development. The tool comes also with a number of new features in the Collection and Analysis modules such as .NET 4.5 support,CLRMD integrationC# and XAML sample rulesDetailed 1st chance exception logging…etc.

The Debug Diagnostic Tool is a tool designed to help troubleshoot performance issues with Internet Information Services (IIS). Even though the tool was designed with troubleshooting IIS in mind it can be used to identify performance issues for any process...

Microsoft Downloads - Debug Diagnostic Tool v2.0

The Debug Diagnostic Tool (DebugDiag) is designed to assist in troubleshooting issues such as hangs, slow performance, memory leaks or fragmentation, and crashes in any user-mode process. The tool includes built-in analysis rules focused on Internet Information Services (IIS) applications, web data access components, COM+, SharePoint and related Microsoft technologies

Version: 2.0

Date Published: 10/2/2013

DebugDiagx64.msi, 21.4 MB

DebugDiagx86.msi, 16.6 MB

Debugdiag 2.0 introduces a new analysis engine host with built-in reporting framework that can be accessed from .NET. This new analysis engine simplifies analysis rule development in .NET.

  • DebugDiag 1.0 released as part of the IIS Diagnostic Toolkit and as a standalone tool (x86 only).
  • DebugDiag 1.1 released as a standalone tool only (x86 and limited x64 support).
  • DebugDiag 1.2 released as a standalone tool only (x86 and full x64 support).

DebugDiag is composed of two main modules: Collection and Analysis

Collection Module: 
The collection module is composed of three main components: The Debugging service, the debugger host and the user interface. It is the base install component of the tool.

  1. Debugging service: DbgSvc.exe. The Debugging Service performs the following tasks:  ...
  2. Debugger Host : DbgHost.exe. The Debugger Host hosts the Windows Symbolic Debugger Engine (dbgeng.dll) to attach to processes and generate memory dumps. Dbghost.exe has no dependency on the service “DbgSvc.exe” and can be used separately.
  3. User Interface: DebugDiag.Collection.exe. The User Interface allows generation of control scripts, manual dump generation, displaying of rules status…etc. It is composed of two views: ...

Analysis Module 
The analysis module is selected by default in a typical install; however, you can deselect the feature if not needed. The analysis module requires .NET 4.0 installed on the system.

  1. Analysis Engine: dbglib.dll, DebugDiag.DotNet.dll The analysis engine loads in the Analysis UI. It uses the Windows Symbolic Debugger Engine (dbgeng.dll) to access userdump data. It exposes this data via a rich API set that you can call from .NET code.
  2. Analysis UI: DebugDiag.Analysis.exe The analysis UI is a .NET 4.0 executable that allows you to runs selected "Analysis Rules" against one or more memory dumps. ...
  3. Rule Builder: DebugDiag.RuleBuilder.exe The Rule builder UI is a .net 4.0 Workflow application that allows you to create simple workflow analysis rules...

This is one of those items that I don't need today, but know that I will need in the future and won't be able to remember where I saw it. That and I think it sounds kind of cool... :)


Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}