运行时调用堆栈 [英] Call Stack at Runtime

查看:120
本文介绍了运行时调用堆栈的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Native C ++应用程序的运行时访问调用栈。我没有使用IDE。如何显示调用堆栈?

I want to access the call stack at runtime in a Native C++ application. I am not using the IDE. How do I display the call stack?

更新:我有一个从整个应用程序的许多点调用的函数。它在罕见的场合崩溃。我正在寻找一种方式来获取来电者的姓名并登录。

Update: I have a function which is called from many points all over the application. It crashes on rare occasions. I was looking for a way to get name of the caller and log it.

推荐答案

我相信页面有您正在寻找的答案。你说Visual C所以我假设你的意思是Windows。

I believe that this page has the answer you are looking for. You said Visual C so I assume you mean windows.

这篇关于运行时调用堆栈的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆