Compartir a través de


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

Comments

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

  • Anonymous
    June 18, 2008
    Hi Tom, Is there a newsgroup to discuss the SOS extension? Something similar to microsoft.public.windbg but for managed debugging? thanks, Marc

  • Anonymous
    June 18, 2008
    My post on autoConfig triggered and interesting discussion with my colleague Cenk about which is the

  • Anonymous
    June 18, 2008
    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.

  • Anonymous
    June 18, 2008
    Very cool, Tom! I can't wait to try it!