Resolve managed and native stack trace - which API to use?

前端 未结 3 1017
刺人心
刺人心 2020-12-19 17:34

This is continuation to my previous question - phase 2 so to say.

First question was here: Fast capture stack trace on windows / 64-bit / mixed mode

Now I ha

3条回答
  •  天命终不由人
    2020-12-19 17:54

    Alternative 1 / IDebugClient / GetNameByOffset is not usable for managed stack trace, it can be used for native code only - as for native call stack I have demo code snipet above already. Not sure whether IDebugClient provides something more than SymGetLineFromAddr64 / SymFromAddr does not provide - not sure.

提交回复
热议问题