SOS Command not working

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • johnxhc@gmail.com

    #1

    SOS Command not working

    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!GCHandleL eaks
    No export GCHandleLeaks found
    0:027!GCHandles
    No export GCHandles found
    0:027!GetWorkIt ems
    No export GetWorkItems found
    0:027!LoadCache
    No export LoadCache found
    0:027!SaveAllMo dules
    No export SaveAllModules found
    0:027!TraverseH eap
    No export TraverseHeap found
    0:027!SaveCache
    No export SaveCache found
    0:027!SaveModul e
    No export SaveModule found
    0:027!SearchSta ck
    No export SearchStack found
    0:027!SyncBlk
    0:027!VerifyHea p
    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!CheckCurr entException
    No export CheckCurrentExc eption found
    0:027!ConvertTi cksToDate
    No export ConvertTicksToD ate found
    0:027!ConvertVT DateToDate
    No export ConvertVTDateTo Date found
    0:027!CurrentEx ceptionName
    No export CurrentExceptio nName found
    0:027!DumpAllEx ceptions
    No export DumpAllExceptio ns found
    0:027!DumpBucke ts
    No export DumpBuckets found
    0:027!DumpColle ction
    No export DumpCollection found
    0:027!DumpConfi g
    No export DumpConfig found
    0:027!DumpLarge ObjectSegments
    No export DumpLargeObject Segments 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:\Prog ram Files
    \Debugging Tools for Windows\winext\ arcade;
    C:\Program Files\Debugging Tools for Windows
    Extension DLL chain:
    C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ sos: API 1.0.0, built
    Wed Jul 14 23:46:07 2004
    [path: C:\WINDOWS\Micr osoft.NET\Frame work\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]

    #2
    Re: SOS Command not working

    <johnxhc@gmail. comwrote in message
    news:1171571451 .913676.127120@ p10g2000cwp.goo glegroups.com.. .
    >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!GCHandleL eaks
    No export GCHandleLeaks found
    0:027!GCHandles
    No export GCHandles found
    0:027!GetWorkIt ems
    No export GetWorkItems found
    0:027!LoadCache
    No export LoadCache found
    0:027!SaveAllMo dules
    No export SaveAllModules found
    0:027!TraverseH eap
    No export TraverseHeap found
    0:027!SaveCache
    No export SaveCache found
    0:027!SaveModul e
    No export SaveModule found
    0:027!SearchSta ck
    No export SearchStack found
    0:027!SyncBlk
    0:027!VerifyHea p
    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!CheckCurr entException
    No export CheckCurrentExc eption found
    0:027!ConvertTi cksToDate
    No export ConvertTicksToD ate found
    0:027!ConvertVT DateToDate
    No export ConvertVTDateTo Date found
    0:027!CurrentEx ceptionName
    No export CurrentExceptio nName found
    0:027!DumpAllEx ceptions
    No export DumpAllExceptio ns found
    0:027!DumpBucke ts
    No export DumpBuckets found
    0:027!DumpColle ction
    No export DumpCollection found
    0:027!DumpConfi g
    No export DumpConfig found
    0:027!DumpLarge ObjectSegments
    No export DumpLargeObject Segments 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:\Prog ram Files
    \Debugging Tools for Windows\winext\ arcade;
    C:\Program Files\Debugging Tools for Windows
    Extension DLL chain:
    C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ sos: API 1.0.0, built
    Wed Jul 14 23:46:07 2004
    [path: C:\WINDOWS\Micr osoft.NET\Frame work\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.



    Comment

    • Oleg Starodumov

      #3
      Re: SOS Command not working

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



      Comment

      Working...