关于windbgType information missing error for

今天用vc6时,发现有些函数用x显示不了:

0:000> x ThisCall!Cat::*
Type information missing error for Cat::Fun0

歪招:用bm直接下断点:

0:000> bm ThisCall!Cat::*
  1: 00401090 @!"ThisCall!Cat::Func1"
  2: 00401060 @!"ThisCall!Cat::Fun0"
0:000> x ThisCall!Cat*
Type information missing error for Cat::Func1
Type information missing error for Cat::Fun0

或者直接ln或u

解决方式:

VC编译器把类型信息存放在VCx0.PDB中,VC6是放在VC60.PDB中,对于VC6自己有时也会找不到这个文件。
对于WinDBG,没有简单的方法来从VC60.pdb这样的符号文件来加载符号
所以需要修改工程的link,把

改成/PDBTYPE:CON即可!你也可以直接把这个删除,默认就是把调试信息集成到<project>.pdb中!
0:000> x ThisCall!Cat::*
00401090 ThisCall!Cat::Func1 (MEAL)
00401060 ThisCall!Cat::Fun0 (MEAL)


原文地址:https://www.cnblogs.com/hgy413/p/3693424.html