Friday, July 3, 2015

Forgetting Windbg commands? Too lazy to type? Use .cmdtree in windbg!

Refer to this:
http://blogs.msdn.com/b/debuggingtoolbox/archive/2008/09/17/special-command-execute-commands-from-a-customized-user-interface-with-cmdtree.aspx

Look at other people's cmdtree's: https://github.com/goldshtn/windbg-extensions/blob/master/cmdtree.txt

Make your own.

I'm pretty sure you don't want to type this a lot if you're looking at Internet Explorer:
ed MSHTML!MemoryProtection::CMemoryProtector::tlsSlotForInstance 0xffffffff

The cmdtree file is space delimited.  So maintain the proper structure and you'll be ok.


No comments:

Post a Comment