来自故障转储的成员变量值 [英] Member variable value from a crash dump

查看:81
本文介绍了来自故障转储的成员变量值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用WinDbg分析崩溃转储,我知道崩溃的确切位置。


但是我需要看到一些成员变量的值来自调用堆栈中的组件。


不一定是最近的堆栈帧。


例如我想知道向量m_vector的内容,来自SampleClass类,在组件SampleComponent中。



我该怎么做?

解决方案

您好Roshni,



尝试选择堆栈框架首先然后分析该框架中的局部变量。


请查看以下链接。它包含堆栈框架和变量的命令:


http:// windbg。 info / doc / 1-common-cmds.html



(如果这可以解决你的问题,请标记为答案查询。如果有帮助,请提前投票。)



问候,


Rajesh


I am analyzing a crash dump using WinDbg, and i know the exact location of the crash.

But i need to see the value of some of the member variables in from the components in the call stack.

Not necessarily the recent stack frame.

for example i want to knw the contents of a vector m_vector, from the class SampleClass, in the component SampleComponent.

How can i do this?

解决方案

Hi Roshni,

Try choosing the stack frame first and then analyzing the local variables in that frame.

Please take a look at the below link. It contains commands for stack frame and variables:

http://windbg.info/doc/1-common-cmds.html

(Please mark as answer if this resolves your query. Please upvote if it is helpful)

Regards,

Rajesh


这篇关于来自故障转储的成员变量值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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