Welcome to MSDN Blogs Sign in | Join | Help

Managed Stack Explorer

Check out: Managed Stack Explorer. It's a tool on CodePlex that lets you automatically get stack snapshots of V2 managed processes.

Its debugging inspection functionality (viewing callstacks) is built on the CLR Debugging Services via ICorDebug, and access through managed code via the low-level managed wrappers from Mdbg (and so I've added it to the "Other people's MDbg work" list on the Mdbg linkfest  page). This is like a much fancier version of the Callstack Snapshot tool available. 

I think this is a great example of how debugging services can be useful for writing lightweight, specialized, diagnostic tools beyond just super-powerful debuggers. A big part of our motivation in publishing MDbg (and the managed wrappers) was to make these sort of tools easy to write.

The source is fully available, and you can download it and build it with VS. It currently has a bug where you need to either modify the Main() method or launch it outside of the debugger (Ctrl+F5).

Published Wednesday, May 17, 2006 5:11 PM by jmstall
Filed under:

Comments

# Interesting Finds: May 18, 2006 PM edition

Thursday, May 18, 2006 4:40 PM by Jason Haley

# Tool to get snapshot of managed callstacks

Monday, June 26, 2006 2:09 PM by Mike Stall's .NET Debugging Blog
I wrote a simple tool to take a snapshot of a running managed process and dump the output as an XML file....

# Source posted for snapshot tool

Monday, June 26, 2006 2:13 PM by Mike Stall's .NET Debugging Blog
A while ago, I wrote a sample tool to gather snapshots of callstacks. After great delay, I've posted...
New Comments to this post are disabled
 
Page view tracker