我正在调查内存转储,使用 windbg
.它包含很多我喜欢调查的条目(使用 windbg
dt
命令),但这似乎失败了:
关于符号:
0:000> x /2 <product_name>!<company>::<main_product>::<chapter>::<subchapter>::<Current_Object>*
01251194 <product_name>!<company>::<main_product>::<chapter>::<subchapter>::<Current_Object>::`vftable'
0125115c <product_name>!<company>::<main_product>::<chapter>::<subchapter>::<Current_Object>::`vftable'
=> 对象由符号识别。 (.sympath
是正确的)
dt <product_name>!<company>::<main_product>::<chapter>::<subchapter>::<Current_Object>::`vftable' <memory_address>
=> symbol <product_name>!<company>::<main_product>::<chapter>::<subchapter>::<Current_Object> not found
供您引用:我尝试过使用/不使用 <product_name>
, 有/没有 ::
最后,有/没有整个命名空间条目,...
=> 我怎样才能得到 windbg
dt
工作,同时使用命名空间前面的类型?
最佳答案
由于某些奇怪的原因,这似乎不适用于 Windbg,但使用 Windbg 预览它可以。 (仅供引用,我检查了两个符号路径,它们是相等的)
关于c++ - 如何使用 windbg "dt"命令从命名空间污染的内存转储中获取信息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48986824/