Bin Chen
Bin Chen

Reputation: 63359

why windbg command start with . or !

Is there any difference between . and ! ?

Upvotes: 16

Views: 1664

Answers (2)

Anu
Anu

Reputation: 1

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

Upvotes: 0

Brian Rasmussen
Brian Rasmussen

Reputation: 116471

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).

Upvotes: 27

Related Questions