DCSIMG
CLR Explorer Tool - Pavel's Blog
Sign in | Join | Help

Pavel's Blog

Pavel is a software guy that is interested in almost everything
software related... way too much for too little time

CLR Explorer Tool

In the last few days I created the first version of a tool I call "CLR Explorer". This tool allows viewing live CLR-enabled processes, showing the AppDomains, threads and assemblies in those processes.

The application is similar in look to Windows Explorer, with a tree-like view on the left and a list view on the right. Here's a screen shot:

ScreenHunter_01 Aug. 10 18.03

The tool works by utilizing the native debug interfaces the CLR provides, namely ICorDebug and its derivatives, such as ICorDebugProcess and the like. These are the basis of a CLR based debugger. I have a started an ambitious project to create a "Debugging Studio" (as Sasha Goldshtein calls it), with the power of WinDbg+SOS(ex) and the ease of use of Visual Studio, that can be used in production environments - i.e. no dependency, just a single native EXE.

The CLR Explorer tool is my first attempt at utilizing those interfaces, with sketchy documentation at best, and errors and omissions at the worse end. Wish me luck... if anyone wants to join in and has good knowledge of C++ and COM (and MFC doesn't hurt for the UI stuff) - let me know.

Check out the tool - I plan to put in in OpenUp when I tidy up the code a bit... but for now any comments or suggestions are welcome. I plan to add a few features in the next few days.

The tools refreshes for new processes (this is not supplied automatically with the debug interfaces) and is updated when a process exits, a thread created or destroyed, an appdomain is created or destroyed. More events might follow.

Again, any comments and suggestions are welcome, and if there are serious bugs - let me know too (I know of a few "small" bugs that I intend to correct).

Comments List

# re: CLR Explorer Tool

Published at Monday, August 11, 2008 6:02 PM by addys  

Sweet!  One feature request: the ability to search/filter the process list.  The current behavior of listing everything running on the box makes it painfully slow especially on startup

# re: CLR Explorer Tool

Published at Thursday, August 14, 2008 9:47 AM by pavely  

Working on improvements... Will consider your request...

# CLR Explorer v 0.2

Published at Sunday, August 17, 2008 1:57 AM by Pavel's Blog  

Here's an update to the CLR Explorer tool. Improvements in this version are: Added a "Types"

# CLR Explorer v. 0.3

Published at Thursday, September 11, 2008 6:25 AM by Pavel's Blog  

Another update to my CLR Explorer tool. Changes in this release: A toolbar... Thread call stack includes

# PDC Report: Day 3

Published at Thursday, October 30, 2008 11:07 AM by Pavel's Blog  

In my previous report , I forgot to mention one more significant product update: Office. The next version

# PDC Report: Day 3

Published at Thursday, October 30, 2008 11:15 AM by Pavel's Blog  

In my previous report , I forgot to mention one more significant product update: Office. The next version

# What’s New in CLR 4.5 Debugging API?

Published at Tuesday, April 03, 2012 7:51 PM by Pavel's Blog  

The most used command in the SOS extension DLL is probably !dumpheap . This command is able to show every

Leave a Comment

(required) 
(
required
)
 
(optional)
(required) 

Enter the numbers above: