How to dump or search in call stacks of ALL threads in Visual Studio

前端 未结 2 1994
终归单人心
终归单人心 2020-12-28 09:20

How to dump or search in call stacks of ALL threads in Visual Studio? We have a server process to debug and it has hundreds of threads running, so it should be hard to manua

2条回答
  •  再見小時候
    2020-12-28 10:21

    Later I found the answer by using WinDbg,

    First save a minidump in VS debug session, say, myapp.dmp

    Then using the following command to dump all callstack to out.txt

    cdb -z c:\myapp.dmp -logo out.txt -lines -c "~*kb;q" -y c:\symbols

提交回复
热议问题