Tuesday, April 26, 2005

SOS Commands

I started to use SOS commands one year ago while reading Production Debugging for .NET Framework Applications. I also used SOS commands to investigate my own apps ten months ago. I was quite familar with SOS commands then. But I almost forget SOS commands completely now. I'd like to make a list of SOS commands commonly used so that I can use them later. The commands listed below are stolen from both Drill Into .NET Framework Internals to See How the CLR Creates Runtime Objects and Production Debugging for .NET Framework Applications.

Before you load SOS into the process, enable unmanaged code debugging from the project properties in Visual Studio .NET. Add the directory in which SOS.dll is located to the PATH environment variable.

Now you can start your VS debugging process. Then open Debug Windows Immediate. In the immediate window, you can execute SOS commands.

To load SOS.dll (You must do this before you execute any SOS commands),
.load sos.dll

Use !help to get a list of debugger commands.

!DumpDomain

//DumpHeap allows listing of all the heap contents and all the instances of a particular
// type
!DumpHeap -type SimpleClass


// DumpObj dumps the contents of an instance
!DumpObj 0x00a8197c


// ObjSize dumps the space taken up by the instance
// ObjSize will not include the memory taken up by the syncblk infrastructure
// In the .NET Framework 1.1, the CLR is not aware of the memory taken up by any
// unmanaged resources like GDI objects, COM objects, file handles, and so on
!ObjSize 0x00a8197c


// disassemble an address
!u 0x00955263

// dump a method table
!DumpMT -MD 0x9552a0

// dump a method descritor
!DumpMD 0x00955268

// find the addresses of EEClass and MethodTable for MyClass
// The first argument to Name2EE is the module name
// that can be obtained from DumpDomain command.
!Name2EE C:\Working\test\ClrInternals\Sample1.exe MyClass


!DumpClass 02ca3508

// examine the GC heap size
!eeheap -gc

!dumpheap -stat

!gcroot 17b90018

37 Comments:

At 10:31 AM, Anonymous Anonymous said...

[url=http://louboutinmart.co.uk]christian louboutin uk[/url] Let stand until fat separates from meat juice; pour off and discard fat (there should be about 5 cups fat and 1 cup meat juice; if necessary, add enough water to meat juice to equal 1 cup). [url=http://dkgoose.com]Canada Goose tilbud[/url] Jzczaxlxv [url=http://www.louboutinoutletuks.co.uk]christian louboutin[/url]
webqtc 449130 [url=http://www.chilliwackbombersoutlet.com]canadian goose clothing[/url] 787110 [url=http://www.beatsbydreaonsales.com]beats by dre cheap[/url]

 
At 12:33 AM, Anonymous Anonymous said...

[url=http://www.mulberryinoutlet.co.uk]Mulberry[/url] It lacks mushy peas.. [url=http://dkgoose.com]canada goose[/url] Ruesupfht [url=http://csrhelix.com]Canada goose outlet [/url]
piufew 495574 [url=http://www.chilliwackbombersoutlet.com]canadian geese for sale[/url] 690728 [url=http://www.beatsbydreaonsales.com]beats by dre christmas sales[/url]

 
At 10:39 PM, Anonymous Anonymous said...

michael kors sale blush at a loss like what michael kors handbags on sale want to say is this world is not fair michael kors outlet.
right ghd lisseur.
some from rational control ugg boots sale.
michael kors handbags outlet decided to engagement Both parents are very satisfied with this marriage Michael Kors.

 
At 2:33 PM, Anonymous Anonymous said...

oYqp michael kors purses
jTob ghd lisseur
oBrb discount north face
4xXni cheap ugg boots
3aEek michael kors bags

 
At 9:18 PM, Anonymous Anonymous said...

pLlz ghd hair
qHui ugg boots sale
jUkr michael kors outlet
5mJgh GHD Australia
7dCnp burberry handbags
4nQeb ugg france
2bNnb ghd hair straighteners
1nUxz louis vuitton outlet
9vMvj michael kors purses
3gNgi ghd stockists
8fYdn ugg uk
7cSql cheap nfl jerseys
5uGnv michael kors handbags
3xFaz GHD Pas Cher
9zFsq discount uggs

 
At 10:08 PM, Anonymous Anonymous said...

sUpn cheap ghd
uPmr ugg boots sale uk
qAut michael kors bags
0kQkd ugg boots sale
1lLnk chi iron
9rPpk michael kors handbags
4vLxu wholesale nfl jerseys
4yJdw ghd hair straighteners
9iMor north face jackets
1qIog ugg australia
5lOcn ghd pink
7sXnw michael kors wallet
3yNgb nike nfl jerseys
2fBpt ghd españa
4cUmk discount uggs

 
At 12:27 AM, Anonymous Anonymous said...

Those listening for the music using a faster tempo displayed greater rates of oxygen consumption, cardiac output, stroke volume and frequency of breaths than these within the other two groups. Cut of the skin depriving them of as much white as you can phen375 calorie intake should be at least 1,500 to 2,000 range per day, according to the american academy of family physicians. When you start losing weight, you're body is more efficient in transporting oxygen throughout the body. The Medline Plus online medical encyclopedia notes that particular pound is equal to 3,500 calories http://www.phen375factsheet.com while that is cooking, lunch will should be served so enjoy some hcg diet direct homemade chili. Whenever I am hungry at night,as is my habit with other meals during the afternoon, I attempt to select something that is certainly natural in nature [url=http://www.phen375factsheet.com/]phen375[/url] and since fish, as a general rule, has fewer calories than most meats, you will be saving calories, too.

 
At 3:17 AM, Anonymous Anonymous said...

RmtDqc http://kuroebaggu.com/ NygKiw [url=http://kuroebaggu.com/]クロエ 店舗[/url] BwqHww http://saiyasunerubutan.com/ HhmSzk [url=http://saiyasunerubutan.com/]ルブタン 店舗[/url] CqvWcq http://mcmhannbai.com/ ZhzAgr [url=http://mcmhannbai.com/]MCM リュック[/url] FfpQeb http://vuittonkakaku.com/ GvsYlb [url=http://vuittonkakaku.com/]ルイヴィトン 財布[/url] KdfVde http://chloenihon.com/ VlzJzw [url=http://chloenihon.com/]クロエ 長財布[/url] UcdXnb http://louboutindendou.com/ RbbRtv [url=http://louboutindendou.com/]ルブタン パンプス[/url] UedGqq http://guccisenmon.com/ AfzCay [url=http://guccisenmon.com/]グッチ[/url] MlbByh http://tuminihoo.com/ AamDdh [url=http://tuminihoo.com/]TUMI スーツケース[/url]

 
At 1:25 AM, Anonymous Anonymous said...

WlzEyn [url=http://onnrainnmcm.com/#93596]MCM 通販[/url] EomAbp http://onnrainnmcm.com/ RqpHit [url=http://mcmsenmon.com/#63004]MCM キーケース[/url] PiqSxp http://mcmsenmon.com/ HgjWsd [url=http://ninnkimcm.com/#62680]MCM バッグ[/url] CfxMrh http://ninnkimcm.com/ AmfFom [url=http://kaidokumcm.com/#97250]MCM 長財布[/url] DjzChu http://kaidokumcm.com/ ShzKnd [url=http://manzokumcm.com/#50285]MCM 通販[/url] ZxrPzr http://manzokumcm.com/ ZosAgo http://chloenihon.com/ OqePwe [url=http://chloenihon.com/]クロエ 店舗[/url] QsuS http://toumikousin.com/ KqdPN [url=http://toumikousin.com/]tumi[/url] QheEdK http://toumikakaku.com/ LrcDpFI [url=http://toumikakaku.com/]トゥミ[/url] XegCpu [url=http://mcmhannbai.com/]MCM 店舗[/url] IxoSbb [url=http://mcmhannbai.com/]MCM ショルダー[/url]

 
At 6:21 AM, Anonymous Anonymous said...

VxuPos [url=http://onnrainnmcm.com/#19128]MCM 財布[/url] HtuRqt http://onnrainnmcm.com/ IhzWih [url=http://mcmsenmon.com/#72121]MCM 店舗[/url] IziUyk http://mcmsenmon.com/ UxfPit [url=http://ninnkimcm.com/#20520]MCM iphoneケース[/url] PawNse http://ninnkimcm.com/ AhwQam [url=http://kaidokumcm.com/#79127]MCM 韓国[/url] WxlNhe http://kaidokumcm.com/ HjoNqs [url=http://manzokumcm.com/#11982]MCM 通販[/url] AgmWke http://manzokumcm.com/ VwxXip http://chloenihon.com/ JxmCax [url=http://chloenihon.com/]クロエ 店舗[/url] EcbB http://toumikousin.com/ LjcGV [url=http://toumikousin.com/]TUMI トート[/url] EokOiO http://toumikakaku.com/ OqpSxCB [url=http://toumikakaku.com/]トゥミ[/url] XfsFuq [url=http://mcmhannbai.com/]MCM 長財布[/url] KpvZbw [url=http://mcmhannbai.com/]MCM 長財布[/url]

 
At 2:36 PM, Anonymous Anonymous said...

Hello. And Bye. Thank you very much.

 
At 2:34 AM, Anonymous Anonymous said...

aev zyban online - order zyban http://www.wellbutrinonlinecheap.net/#order-zyban , [url=http://www.wellbutrinonlinecheap.net/#zyban-drug ]zyban drug [/url]

 
At 2:38 PM, Anonymous Anonymous said...

12, Lunesta Cost - buy eszopiclone http://www.lunestasleepaid.net/, [url=http://www.lunestasleepaid.net/] Lunesta Cost [/url]

 
At 11:22 PM, Anonymous Anonymous said...

I got this website from my friend who informed
me about this web site and now this time I am browsing this web page and
reading very informative articles or reviews at this time.



Feel free to surf to my web site :: the tao of badass

 
At 10:41 PM, Anonymous Anonymous said...

Everything is very open with a clear clarification of the
issues. It was definitely informative. Your website is very useful.
Thank you for sharing!

Have a look at my blog learn to attract women

 
At 8:11 PM, Anonymous Anonymous said...

Good way of telling, and pleasant piece of writing to get data regarding my presentation topic, which i am going to deliver
in institution of higher education.

Stop by my blog :: tao system joshua pellicer

 
At 7:29 AM, Anonymous Anonymous said...

I have been browsing online more than 4 hours today,
yet I never found any interesting article like yours. It's pretty worth enough for me. In my opinion, if all site owners and bloggers made good content as you did, the internet will be a lot more useful than ever before.

Review my page; attract beautiful woman

 
At 4:02 AM, Anonymous Anonymous said...

I'm really enjoying the design and layout of your blog. It's a very easy on the eyes which makes it much more pleasant for
me to come here and visit more often. Did you hire out a developer to create your theme?
Exceptional work!

Here is my homepage ... tdserver12.fnal.gov

 
At 8:58 AM, Anonymous Anonymous said...

Thanks for one's marvelous posting! I certainly enjoyed reading it, you could be a great author. I will be sure to bookmark your blog and will come back later on. I want to encourage you to continue your great posts, have a nice morning!

Take a look at my webpage; rallyshow.rossiysky.ru

 
At 12:29 PM, Anonymous Anonymous said...

Your style is really unique compared to other
people I've read stuff from. Many thanks for posting when you have the opportunity, Guess I'll just book mark this page.


Also visit my website トリーバーチ靴

 
At 1:35 AM, Anonymous Anonymous said...

Wow, fantastic blog layout! How long have you been blogging for?
you make blogging look easy. The overall look of
your web site is fantastic, as well as the content!


Look into my blog :: http://www4.favecrafts.com/

 
At 3:54 PM, Anonymous Anonymous said...

I do not even know the way I finished up right here, but
I thought this publish was once great. I don't recognize who you might be however certainly you're going to
a famous blogger for those who are not already.
Cheers!

My site; http://wiki.tv-kvant.ru/

 
At 5:06 AM, Anonymous Anonymous said...

Hello just wanted to give you a brief heads up and let you know a few of the images aren't loading properly. I'm not sure why but I think its a linking issue.
I've tried it in two different web browsers and both show the same results.

my web site; トリーバーチ財布

 
At 12:47 PM, Anonymous Anonymous said...

Greate article. Keep writing such kind of info on your blog.
Im really impressed by your blog.
Hey there, You have done a fantastic job. I'll certainly digg it and in my opinion recommend to my friends. I am confident they'll be benefited from this web site.


Look at my web page ... トリーバーチ靴

 
At 4:04 PM, Anonymous Anonymous said...

Phen375 boosts your energy level with a great extent. The ingredients found
in the manufacturing with the product give no room for any side
effects to the user. That you need to get in to your healthy living life-style that you simply
possibly can keep with or without the weight reducers.



Also visit my website Phen375 At Walmart

 
At 10:40 AM, Anonymous Anonymous said...

Wow, marvelous blog layout! How long have you been blogging for?
you made blogging look easy. The overall look of your site is magnificent, as well
as the content!

Look at my web page ... World Of Tanks Hack

 
At 10:49 PM, Anonymous Anonymous said...

You can definitely see your expertise in the work you write.
The arena hopes for even more passionate writers like you
who are not afraid to say how they believe. At all times
go after your heart.

Feel free to surf to my web site: ルブタン靴

 
At 10:05 AM, Anonymous Anonymous said...

Excellent items from you, man. I have remember your stuff prior to and you're just too great. I actually like what you've
obtained here, certainly like what you're stating and the way in which in which you assert it. You're making it
entertaining and you still take care of to stay it wise.

I cant wait to learn far more from you. This is really
a wonderful website.

Visit my blog ... The interlace

 
At 12:29 AM, Anonymous Anonymous said...

Fine way of explaining, and pleasant post to obtain facts
about my presentation subject matter, which i am going to deliver in school.


Also visit my web blog - buy virility ex ::
::

 
At 2:42 AM, Anonymous Anonymous said...

Aw, this was a really good post. Finding the time and actual effort to generate
a good article… but what can I say… I put things off a
whole lot and never manage to get nearly anything done.


Look at my blog :: buy provillus ()

 
At 3:19 PM, Anonymous Anonymous said...

Do you have a spam issue on this site; I also am a blogger, and I was curious about
your situation; we have developed some nice practices and we are looking to exchange techniques with others,
why not shoot me an e-mail if interested.

Visit my blog post ... 7Zip Install

 
At 7:51 PM, Anonymous Anonymous said...

Hi, I log on to your blog on a regular basis. Your story-telling style is awesome, keep up the good work!


my page ... World Of Tanks Hack

 
At 4:55 AM, Anonymous Anonymous said...

Pretty section of content. I simply stumbled upon your blog and in
accession capital to assert that I get actually
loved account your blog posts. Anyway I'll be subscribing to your augment and even I fulfillment you get right of entry to constantly quickly.

Also visit my web-site Minecraft Crack **

 
At 5:12 PM, Blogger ninest123 said...

louis vuitton outlet, ugg boots, ray ban sunglasses, oakley sunglasses, louis vuitton outlet, longchamp pas cher, prada outlet, polo ralph lauren outlet, nike outlet, chanel handbags, louboutin outlet, longchamp outlet, louis vuitton, nike air max, cheap oakley sunglasses, longchamp outlet, jordan shoes, louis vuitton, nike free, tiffany and co, tory burch outlet, prada handbags, replica watches, nike roshe run, longchamp, louboutin, air max, ralph lauren pas cher, christian louboutin outlet, replica watches, louis vuitton, nike air max, kate spade outlet, louboutin pas cher, nike free, oakley sunglasses, sac longchamp, oakley sunglasses, polo ralph lauren outlet, louboutin shoes, uggs on sale, ray ban sunglasses, ray ban sunglasses, burberry, gucci outlet, oakley sunglasses, tiffany jewelry, ugg boots, air jordan pas cher, michael kors

 
At 5:14 PM, Blogger ninest123 said...

coach outlet, ugg boots, vans pas cher, michael kors, hollister, coach purses, nike air max, ray ban uk, sac guess, ray ban pas cher, mulberry, true religion outlet, hermes, michael kors outlet, oakley pas cher, true religion jeans, lacoste pas cher, ugg boots, michael kors outlet, michael kors outlet, true religion jeans, nike free run uk, tn pas cher, michael kors, nike air max, burberry, vanessa bruno, lululemon, nike roshe, nike air max, ralph lauren uk, coach outlet, north face, replica handbags, nike blazer, converse pas cher, michael kors outlet, timberland, michael kors, abercrombie and fitch, hollister pas cher, true religion jeans, air force, burberry outlet online, michael kors, michael kors outlet, new balance pas cher, north face, kate spade handbags, hogan

 
At 5:16 PM, Blogger ninest123 said...

mont blanc, nike air max, babyliss, mcm handbags, louboutin, herve leger, ghd, hollister, celine handbags, lancel, new balance, nike trainers, valentino shoes, nfl jerseys, reebok shoes, soccer shoes, oakley, vans shoes, p90x workout, soccer jerseys, nike huarache, converse outlet, nike roshe, abercrombie and fitch, bottega veneta, north face outlet, beats by dre, birkin bag, instyler, gucci, mac cosmetics, chi flat iron, ferragamo shoes, insanity workout, ralph lauren, nike air max, jimmy choo shoes, longchamp, wedding dresses, asics running shoes, vans, hollister, timberland boots, iphone cases, baseball bats, hollister, giuseppe zanotti, north face outlet, ray ban, lululemon

 
At 5:21 PM, Blogger ninest123 said...

montre pas cher, moncler outlet, moncler, karen millen, moncler, supra shoes, ugg pas cher, wedding dresses, swarovski, moncler, sac louis vuitton pas cher, doudoune canada goose, moncler, louis vuitton, pandora charms, canada goose, ugg,uggs,uggs canada, swarovski crystal, marc jacobs, hollister, moncler, toms shoes, louis vuitton, ugg boots uk, louis vuitton, canada goose uk, coach outlet, louis vuitton, moncler, canada goose, pandora charms, links of london, moncler, canada goose, canada goose outlet, pandora jewelry, juicy couture outlet, canada goose, thomas sabo, juicy couture outlet, pandora jewelry, bottes ugg, canada goose outlet, ugg,ugg australia,ugg italia, replica watches

 

Post a Comment

<< Home