Debugging Tools for Windows

!ks.dumpbag

The !ks.dumpbag extension displays the contents of the object bag for the specified object.

Syntax

!ks.dumpbag Object [Level]  

Parameters

Object
Specifies a pointer to a valid client viewable object structure, or to the private class object.
Level
Optional. Specifies the level of detail to display on a 0-7 scale with progressively more information displayed for higher values. To display all available details, supply a value of 7.

DLL

Windows NT 4.0 Not available
Windows 2000 winxp\ks.dll
Windows XP and later ks.dll

Comments

Here is an example of the !ks.dumpbag display for a filter:

kd> !dumpbag 829493c4
Filter 829493c4 [CKsFilter = 82949350]:
    Object Bag 829493d0:
        Object Bag Item 829dce28:
            Reference Count        : 1
            Item Cleanup Handler   : f7a21730

Additional Information

For more information, see Kernel Streaming Debugging.

Build machine: CAPEBUILD