你最喜欢的Windbg技巧/技巧是什么? [英] What is your favourite Windbg tip/trick?
问题描述
ps:我不是在寻找一个漂亮的命令,那些可以在文档中找到。如何分享提示,做一些别无其他的想法可以用windbg做的事情?例如一些方法来生成一个进程在windbg下运行的内存分配统计信息。
我最喜欢的是命令 .cmdtree< file>
(未记录,但在以前的发行说明中引用)。这可以帮助提出另一个窗口(可以对接)来显示有用或常用的命令。这可以帮助用户使用该工具提高使用效率。
最初在这里谈到,以< file>
参数:
http://blogs.msdn.com/debuggingtoolbox/archive/2008/09/17/special-command-execute-commands-from-a-customized- user-interface-with-cmdtree.aspx
示例:
alt text http://blogs.msdn.com/photos/debuggingtoolbox/images/8954736/original.aspx
I have come to realize that Windbg is a very powerful debugger for the Windows platform & I learn something new about it once in a while. Can fellow Windbg users share some of their mad skills?
ps: I am not looking for a nifty command, those can be found in the documentation. How about sharing tips on doing something that one couldn't otherwise imagine could be done with windbg? e.g. Some way to generate statistics about memory allocations when a process is run under windbg.
My favorite is the command .cmdtree <file>
(undocumented, but referenced in previous release notes). This can assist in bringing up another window (that can be docked) to display helpful or commonly used commands. This can help make the user much more productive using the tool.
Initially talked about here, with an example for the <file>
parameter:
http://blogs.msdn.com/debuggingtoolbox/archive/2008/09/17/special-command-execute-commands-from-a-customized-user-interface-with-cmdtree.aspx
Example: alt text http://blogs.msdn.com/photos/debuggingtoolbox/images/8954736/original.aspx
这篇关于你最喜欢的Windbg技巧/技巧是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!