41.windbg-调试技巧(解决Type information missing error for)
2013-05-13 15:53
477 查看
今天用vc6时,发现有些函数用x显示不了:
歪招:用bm直接下断点:
或者直接ln或u
解决方式:
VC编译器把类型信息存放在VCx0.PDB中,VC6是放在VC60.PDB中,对于VC6自己有时也会找不到这个文件。
对于WinDBG,没有简单的方法来从VC60.pdb这样的符号文件来加载符号
所以需要修改工程的link,把
、
改成/PDBTYPE:CON即可!你也可以直接把这个删除,默认就是把调试信息集成到<project>.pdb中!
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)
相关文章推荐
- 【转】WinDBG-调试技巧(解决Type information missing error for ???)
- 关于windbg---Type information missing error for
- python报错 TypeError: bad operand type for unary +: 'str' 的解决办法
- 真正解决方法之装不上vcredist_x86 提示Command line option syntax error. Type Command /? for Help.
- sql server 2000安装中出现:command line option syntax error,type command/? for help解决方法(转)
- sql server 2000安装中出现:command line option syntax error,type command/? for help解决方法
- opencv2.0 源码安装 for x86 make出现error: 'ptrdiff_t' does not name a type 解决
- CodeSign error: code signing is required for product type Application in SDK iOS XXX的解决办法
- CodeSign error: code signing is required for product type Application in SDK iOS解决办法
- Command line option syntax error.Type Command /? for help.错误解决方法
- 在真机上调试时出现“Error launching remote program: failed to get the task for process xxx"的解决方法
- Error This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. T
- ios在真机上调试时出现“Error launching remote program: failed to get the task for process xxx"解决办法(转)
- 解决python中TypeError: not enough arguments for format string
- ios在真机上调试时出现“Error launching remote program: failed to get the task for process xxx"解决办法
- ios在真机上调试时出现“Error launching remote program: failed to get the task for process xxx"解决办法(转)
- 解决安装3dMax时出现Command line option syntax error.Type Command /?for Help.的问题
- Error This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. T
- The template file for selected project type is missing的解决
- 解决:ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad o