PC Review


Reply
Thread Tools Rate Thread

SOS Command not working

 
 
johnxhc@gmail.com
Guest
Posts: n/a
 
      15th Feb 2007
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]

 
Reply With Quote
 
 
 
 
Willy Denoyette [MVP]
Guest
Posts: n/a
 
      15th Feb 2007
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>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]
>


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.



 
Reply With Quote
 
Oleg Starodumov
Guest
Posts: n/a
 
      16th Feb 2007

> 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/]



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Command prompt "COPY" command not working in brand new Windows Vis CMD COPY command not working in Vista Windows Vista File Management 7 5th Feb 2008 10:20 PM
Command() Function to get command line parameter not working =?Utf-8?B?TWlrZSBCIGluIFZU?= Microsoft Access VBA Modules 3 10th Nov 2006 03:47 PM
Sum command not working HeartSA Microsoft Access Reports 6 21st Apr 2006 02:57 PM
Run Command Not Working Scott Microsoft Windows 2000 1 18th Oct 2005 02:29 AM
Command not working on Win XP Steven Windows XP General 1 29th Nov 2004 10:14 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:05 PM.