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
IDebugControl4interface which gives you access to theGetStoredEventInformationandGetContextStackTracemethods. IfGetStoredEventInformationfails, you can fall back on theGetStackTracemethod.The solution is described in this article http://blogs.msdn.com/b/joshpoley/archive/2008/11/10/minidumps-and-bad-stacks.aspx