Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / February 2007

Tip: Looking for answers? Try searching our database.

SOS Command not working

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
johnxhc@gmail.com - 15 Feb 2007 20:30 GMT
I am trying to use sos extension but almost half of the sos command do
not work, for example

0:027> !findtable
No export findtable found
0:027> !bpmd
No export bpmd found
0:027> !GCHandleLeaks
No export GCHandleLeaks found
0:027> !GCHandles
No export GCHandles found
0:027> !GetWorkItems
No export GetWorkItems found
0:027> !LoadCache
No export LoadCache found
0:027> !SaveAllModules
No export SaveAllModules found
0:027> !TraverseHeap
No export TraverseHeap found
0:027> !SaveCache
No export SaveCache found
0:027> !SaveModule
No export SaveModule found
0:027> !SearchStack
No export SearchStack found
0:027> !SyncBlk
0:027> !VerifyHeap
No export VerifyHeap found
0:027> !X
No export X found
0:027> !Analysis
No export Analysis found
0:027> !Bp
No export Bp found
0:027> !CheckCurrentException
No export CheckCurrentException found
0:027> !ConvertTicksToDate
No export ConvertTicksToDate found
0:027> !ConvertVTDateToDate
No export ConvertVTDateToDate found
0:027> !CurrentExceptionName
No export CurrentExceptionName found
0:027> !DumpAllExceptions
No export DumpAllExceptions found
0:027> !DumpBuckets
No export DumpBuckets found
0:027> !DumpCollection
No export DumpCollection found
0:027> !DumpConfig
No export DumpConfig found
0:027> !DumpLargeObjectSegments
No export DumpLargeObjectSegments found
0:027> !DumpLog
No export DumpLog found

Also, after I set a breakpoint (bring up the source code ) a managed
code, the program just does not break.

Any ideas?
Thanks in avance.
John

0:027> .chain
Extension DLL search Path:
   C:\Program Files\Debugging Tools for Windows\winext;C:\Program
Files\Debugging Tools for Windows\winext\arcade;
  C:\Program Files\Debugging Tools for Windows\WINXP;C:\Program Files
\Debugging Tools for Windows\pri;
  C:\Program Files\Debugging Tools for Windows;C:\Program Files
\Debugging Tools for Windows\winext\arcade;
   C:\Program Files\Debugging Tools for Windows
Extension DLL chain:
   C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\sos: API 1.0.0, built
Wed Jul 14 23:46:07 2004
       [path: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\sos.dll]
   dbghelp: image 6.6.0007.5, API 6.0.6, built Sat Jul 08 13:11:32
2006
       [path: C:\Program Files\Debugging Tools for Windows
\dbghelp.dll]
   ext: image 6.6.0007.5, API 1.0.0, built Sat Jul 08 13:10:52 2006
       [path: C:\Program Files\Debugging Tools for Windows\winext
\ext.dll]
   exts: image 6.6.0007.5, API 1.0.0, built Sat Jul 08 13:10:48 2006
       [path: C:\Program Files\Debugging Tools for Windows\WINXP
\exts.dll]
   uext: image 6.6.0007.5, API 1.0.0, built Sat Jul 08 13:11:02 2006
       [path: C:\Program Files\Debugging Tools for Windows\winext
\uext.dll]
   ntsdexts: image 6.0.5457.0, API 1.0.0, built Sat Jul 08 13:29:38
2006
       [path: C:\Program Files\Debugging Tools for Windows\WINXP
\ntsdexts.dll]
Willy Denoyette [MVP] - 15 Feb 2007 21:33 GMT
>I am trying to use sos extension but almost half of the sos command do
> not work, for example
[quoted text clipped - 88 lines]
>        [path: C:\Program Files\Debugging Tools for Windows\WINXP
> \ntsdexts.dll]

Most of these are NOT sos commands, type !help to get a full list of available commands.
Note also that you should load sos.dll after the mscorwks.dll has been loaded in the
(managed) process.

Willy.
Oleg Starodumov - 16 Feb 2007 09:03 GMT
> I am trying to use sos extension but almost half of the sos command do
> not work, for example

You are using the old version of SOS (that came with the .NET framework itself).
Consider using the newer version that comes with WinDbg, in clr10 subdirectory -
that's the one that contains those commands.

> Also, after I set a breakpoint (bring up the source code ) a managed
> code, the program just does not break.

AFAIK live source level debugging is not possible with SOS
(you have to work on disassembly level and use SOS commands to see
where you are in the sources).

--
Oleg
[VC++ MVP http://www.debuginfo.com/]

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.