Compartilhar via


Creating a GUI cheat sheet for commonly used WinDbg commands.

There is an undocumented feature in WinDbg that may be useful for remembering WinDbg commands and essentially building a personalized GUI cheat-sheet of commonly commands.

The syntax is ".cmdtree c:\debuggers\cmdtree.txt" where cmdtree.txt is a text file describing all of the commands.

This was picked up on several popular debugging blogs, such as:
https://blogs.msdn.com/debuggingtoolbox/archive/2008/09/17/special-command-execute-commands-from-a-customized-user-interface-with-cmdtree.aspx
https://www.wintellect.com/CS/blogs/jrobbins/archive/2008/09/17/windbg-cmdtree-file-that-eases-some-sos-pain.aspx
https://blogs.msdn.com/tess/archive/2008/09/18/making-it-easier-to-debug-net-dumps-in-windbg-using-cmdtree.aspx

An example of this is provided here:

windbg ANSI Command Tree 1.0
title {"Commands"}
body
{"General"}
{"OS Version"} {"vertarget"}
{"Computer Name"} {"dS srv!SrvComputerName"}
{"CPU Make/Model"} {"!cpuid"}
{"Manufacturer"} {"!sysinfo machineid"}
{"OS Kernel Version"} {"lmvm nt"}
{"OS Kernel HAL"} {"lmvm hal"}

Comments

  • Anonymous
    May 29, 2009
    The comment has been removed