We have an application that crashes at startup, especially under high load. Problem is, there's no way to tell apart the various instances of this process from one another, except the invocation command line itself.

Is there a way to use WinDBG, WER, etc. to extract the command lines of crashed processes? I know it's nested in the PEB somewhere. The goal would be to just have it dump the information so that we can see if the crashing processes have anything in common.

Thoughts?

有帮助吗?

解决方案

Try ??@$peb->ProcessParameters->CommandLine

其他提示

In WinDbg, !peb shows the Process Environment Block including the command line. Because the output is long, I recommend filtering it using .shell:

.shell -ci "!peb" find "CommandLine"
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top