开发者

How to get call stack in c in windows? [duplicate]

This question already has answers here: Closed 12 years ago.
开发者_JS百科

Possible Duplicate:

How can one grab a stack trace in C?

In PHP it's debug_backtrace,is there such a function in c?


On Windows you can call the StackWalk64 function that is exported by DBGHELP.DLL. It is shipped with Debugging Tools for Windows (WinDbg) but according to this link, "The redistribution policies for these included DLLs were specifically designed to make it as easy as possible for people to include these files in their own packages and releases."

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜