Is there a way to WinDbg in pure headless mode ? My use case is that I should be able to imitate "!analyze -v" command for a minidump on command line without launching WinDbg GUI.
相关问题
- Sorting 3 numbers without branching [closed]
- How to compile C++ code in GDB?
- Why does const allow implicit conversion of refere
- thread_local variables initialization
- What uses more memory in c++? An 2 ints or 2 funct
相关文章
- 如何让cmd.exe 执行 UNICODE 文本格式的批处理?
- 怎么把Windows开机按钮通过修改注册表指向我自己的程序
- Warning : HTML 1300 Navigation occured?
- Class layout in C++: Why are members sometimes ord
- How to mock methods return object with deleted cop
- Which is the best way to multiply a large and spar
- C++ default constructor does not initialize pointe
- Selecting only the first few characters in a strin
With the Debugging Tools for Windows, there is also
cdb
, the console debugger.To debug a crash dump, use the
-z "<dump>"
option. To run a command immediately, use-c "<command>"
. To output everything into a file you can redirect the output with a usual DOS> <file>
or open a log file using.logopen <file>
. To exit CDB after the analysis, useq
.You want to make sure that you have symbols set up correctly, so include a
.symfix <path>;.reload
. I prefer using.symfix <symbolpath>
in the command rather than-y <symbolpath>
, so I can always check in the log that it has been set correctly.Full command line (using redirect)
Disadvantage of redirect: line ending is
LF
only. And you get a lot of noise when the debugger starts.Full command line (using log file)