开发者

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

开发者 https://www.devze.com 2023-01-24 17:01 出处:网络
This question already has answers here: Closed 12 years ago. 开发者_JS百科Possible Duplicate: How can one grab a stack trace in C?
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

精彩评论

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