I have a minidump of crashed application and I would like to analyse it using DbgEng in my own library. Does anyone now how can I get the stacktrace of the thread that caused the program crash using IDebugControl::GetStackTrace?
I appreciate any kind of help
Thx
Depending on how the crash dump was generated, it might be using embedded contexts. Use the IDebugControl4
interface which gives you access to the GetStoredEventInformation
and GetContextStackTrace
methods. If GetStoredEventInformation
fails, you can fall back on the GetStackTrace
method.
The solution is described in this article http://blogs.msdn.com/b/joshpoley/archive/2008/11/10/minidumps-and-bad-stacks.aspx