Debugger tools when DEBUGCMD.VXD is installed (rename DEBUGCMD.TMP to DEBUGCMD.VXD, place it into \WINDOWS\SYSTEM, and load it by putting DEVICE=DEBUGCMD.VXD in the [386Enh] section of the SYSTEM.INI file):
.p? Main help menu
.p<cmd>? For more extensive help on a cmd
.p lists threads in system
.p <*/thread id> lists status of one thread
.pf lists threads and their flags
.ps <Thread handle/id> Dumps ring 0 stack with labels
.psx <Thread handle/id> Dumps 20 lines of ring0 stack and returns
.pdev <Address> Finds nearest VXD name
.plog <flags> Set scheduler query logging flags
.pmtx <Mutex Address> display mutex state
.psem <Semaphore Address> display semaphore state
.pthcb <Thread handle/id> display thread control block
.pprd Disables the logging of priority changes
.ppre Enables the logging of priority changes
.pprf <filter> Logs only boosts changing these bits
.pprl <Thread handle/id> Lists priority changes recorded
.pmax Show thread and VM maximum DOS386 stack usage