SOS: Upcoming release has a few new commands – DumpThreadConfig

Since we are actively working on getting an updated version of SOS added to the debugger package that will work with .NET 2.0 and later, I thought I would post about some of the new functionality that you can expect to see in the updated version.

The first new command:

!DumpThreadConfig (!dtc for short)

This command will pull out most of the useful settings around the Threadpool and print them out.  Here is how the output looks:

dtc

From this, we can see if autoConfig is set, and we can also get all the settings.  It prints out the setting and then what it is based on the number of processors that the process was using.

This is a much faster and cleaner way to get these settings and means you don’t have to go searching in any config files to find the data.

I’ll post some more new commands and new switches soon.  So keep watching this blog for them.

kick it on DotNetKicks.com

Published 17 June 08 11:49 by Tom
Filed under: , , , ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# ASP.NET Debugging : SOS: Upcoming release has a few new commands ??? DumpThreadConfig said on June 17, 2008 3:27 PM:

PingBack from http://blogs.msdn.com/tom/archive/2008/06/17/sos-upcoming-release-has-a-few-new-commands-dumpthreadconfig.aspx

# Marc Sherman said on June 18, 2008 10:08 AM:

Hi Tom,

Is there a newsgroup to discuss the SOS extension? Something similar to microsoft.public.windbg but for managed debugging?

thanks,

Marc

# Never doubt thy debugger said on June 18, 2008 11:40 AM:

My post on autoConfig triggered and interesting discussion with my colleague Cenk about which is the

# Tom said on June 18, 2008 3:36 PM:

Marc,

Not that I am aware of.  But feel free to post any questions to my blog.  I'll check and see if I can get something like that created.

# Roberto Farah said on June 18, 2008 6:16 PM:

Very cool, Tom! I can't wait to try it!

Leave a Comment

(required) 
(optional)
(required) 

Search

Go

This Blog

Syndication

Page view tracker