Get stack trace of a crash on Windows without installing Visual Studio? (C++)

自闭症网瘾萝莉.ら 提交于 2019-11-30 09:50:25

You can use procdump. It can be setup as a debugger to automatically create dumps for crashing processes.

Procdump is part of Sysinternal tools and can be found at:

http://technet.microsoft.com/en-us/sysinternals/dd996900.aspx

Relevant switches:

Create a dump for a hung application:

Write a mini dump for a process named 'hang.exe' when one of it's Windows is unresponsive for more than 5 seconds:

C:\>procdump -h hang.exe hungwindow.dmp

Automatically create dumps for crashing apps:

Register as the Just-in-Time (AeDebug) debugger. Makes full dumps in c:\dumps.

C:\>procdump -ma -i c:\dumps

Use google's lib that makes minidump for msvc to debug. CrashRpt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!