2012年1月9日 星期一

Windbg command tab completion


Here is some words copy from the Windbg help about the Tab completion.

Using Debugger Commands

You can press the TAB key to automatically complete your text entry. In any of the debuggers, press the TAB key after you enter at least one character to automatically complete a command. Press the TAB key repeatedly to cycle through text completion options, and hold down the SHIFT key and press TAB to cycle backward. You can also use wildcard characters in the text and press TAB to expand to the full set of text completion options. For example, if you type fo*!ba and then press TAB, the debugger expands to the set of all symbols that start with "ba", in all modules with module names that start with "fo". As another example, you can complete all extension commands that have "prcb" in them by typing !*prcb and then pressing TAB. 

When you use the TAB key to perform text completion, if your text fragment begins with a period (.), the text is matched to a dot command. If your text fragment begins with an exclamation point (!), the text is matched to an extension command. Otherwise, the text is matched with a symbol. When you usee the TAB key to enter symbols, pressing the TAB key completes code and type symbols and module names. If no module name is apparent, local symbols and module names are completed. If a module or module pattern is given, symbol completion completes code and type symbols from all matches.

This feature make us to type the windbg command faster.  And more useful for us is that can help us to find more Windbg commands.  When we type !po<tab>, we can find !poaction, then !pocaps..  You also can use !po*n<tab>.

There is another web site talk about this. http://analyze-v.com/?p=123

沒有留言:

張貼留言