Learn More





New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

  • 4/7/2015




Last updated 7 years ago



(Enter the content of this article below)


Windbg is a multipurpose debugger for Microsoft windows. Whilst it’s initially an unmanaged debugger, extensions can be installed that allow it to “understand” managed code, allowing users to attach to a managed code process such as w3wp.exe

It used to be a simple download, but is now part of the Debugging tools for Windows SDK ( To avoid the full 1GB download, uncheck everything except 'redistribuble' which contains the debugging tools (about 60mb)

Once downloaded, navigate to C:\Program Files\Microsoft SDKs\Windows\v7.1\Redist\Debugging Tools for Windows and select the relevant tools (about 40mb)

The Debugging Tools are listed in two places on the Installation Options screen in the Windows SDK Setup Wizard:

Select the Debugging Tools option under the Common Utilities if you want the x86 version of Debugging Tools and you are installing on an x86 computer. This option automatically detects the CPU architecture of the computer on which you are installing the tools and it is the fastest method of installing the tools.

Select the Debugging Tools option under the Redistributable Packages to download all three versions of Debugging Tools (x86, x64, Itanium)

Once installed, we need to work with a managed code extension. As part of .net , SOS (son of strike) is available, but other popular extensions exist:

  • SoSEx – created by a 3rd party company, can be downloaded from
  • PSSCor2 – created by Microsoft's PSS team, can be downloaded from
  • PSSCor4 - .net 4.0 version of PSSCor2 -

Common commands:

  • sxe - this means stop on event
  • sxi -ignore event
  • sxn -notify event
  • sxe clr - stop on a clr event
  • clrstack
  • dumpobj
  • !dumpheap
  • !CLRUsage
  • !DumpAllExceptions
  • !ASPXPages
  • !DumpASPNETCache
  • !DumpHttpRuntime
  • !FindDebugTrue
  • !FindDebugModules


No sections defined
Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  

What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out