Thomson
Thomson

Reputation: 21625

How to get the debuggee's command line in WinDbg?

Is there any extension command could to do so? I just want to the the whole command line including all parameters.

Upvotes: 11

Views: 7818

Answers (2)

kenny mccormick
kenny mccormick

Reputation: 189

try vercommand it's a lot simpler than !peb this is a good place to get you started: http://windbg.info/doc/1-common-cmds.html#2_general_cmds

Upvotes: -1

Jason Evans
Jason Evans

Reputation: 29186

Information like the command line args are stored in the PEB (Process Environment Block).

You can find a list of common commands here.

!peb will display the PEB.

Upvotes: 19

Related Questions