Open waneck opened 11 years ago
Seems like we can support stack traces through http://www.nongnu.org/libunwind See http://www.raylikestocode.com/2011/09/unwind-programs-stack.html
It's got a nice license, and seems pretty self-contained. Also setjmp seems to be pratically free, at the cost of a heavier longjmp (because of stack unwinding), which leaves me thinking if it should only be used in debug mode or not.
From what I read libunwind does not support Windows.
There's a Windows API for walking stacks: http://msdn.microsoft.com/en-us/library/windows/desktop/ms680650(v=vs.85).aspx
Seems like we can support stack traces through http://www.nongnu.org/libunwind See http://www.raylikestocode.com/2011/09/unwind-programs-stack.html
It's got a nice license, and seems pretty self-contained. Also setjmp seems to be pratically free, at the cost of a heavier longjmp (because of stack unwinding), which leaves me thinking if it should only be used in debug mode or not.