Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: C++ 显示异常时的堆栈跟踪
如何使用调用堆栈记录崩溃异常?可能吗?可以给出任何简短的例子,或者至少设定正确的方向吗?
StackWalker库可以帮助打印窗口的调用堆栈。 这个SO答案有更多细节