How to Log Stack Frames with Windows x64

前端 未结 12 971
-上瘾入骨i
-上瘾入骨i 2020-12-07 14:48

I am using Stackdumps with Win32, to write all return adresses into my logfile. I match these with a mapfile later on (see my article [Post Mortem Debugging][1]).

<

12条回答
  •  时光说笑
    2020-12-07 15:46

    Regarding RtlCaptureStackBackTrace, one thing I've noticed on 32-bit Windows is that it fails if you pass too large a number into it for FramesToCapture. Experimentally I've identified 61 as the maximum value, for no reason that I can fathom!

    Not sure if it's the same in x64, but that might explain why you're getting no info out.

提交回复
热议问题