why windbg command start with . or !

雨燕双飞 提交于 2019-12-22 03:21:10

问题


Is there any difference between . and ! ?


回答1:


There are different kinds of commands in WinDbg.

Regular commands, e.g. kb apply to the debugging session. E.g. show stack dump etc.

Meta commands are prefixed with a dot, e.g. .load. Meta commands apply to the debugger itself. E.g. load extensions, show help and so forth.

Extension commands are prefixed with an exclamation mark, e.g. !analyze and !dumpheap are defined in debugger extensions (DLLs that provide additional functionality).




回答2:


Meta command prefixed with dot(.) are designed to configure or query debugger

Extension commands are prefixed with an exclamation mark(!) are used to invoke windbg plugin



来源:https://stackoverflow.com/questions/1629085/why-windbg-command-start-with-or

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!