WinDbg!堆命令由于缺少符号不工作 [英] WinDbg !heap command not working due to missing symbols
本文介绍了WinDbg!堆命令由于缺少符号不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试运行!heap 时,我试图使用WinDbg调试我的.NET应用程序与C ++非托管内存分配。命令,我得到以下错误消息:
0:022> !heap
***错误:找不到符号文件。默认为导出符号为C:\Windows\system32\KERNEL32.dll -
************************* **********************************************
*** ***
*** ***
***您的调试器未使用正确的符号***
*** ***
** *为了使此命令正常工作,您的符号路径***
***必须指向具有完整类型信息的.pdb文件。 ***
*** ***
***某些.pdb文件(例如公共操作系统符号)不能***
***包含所需的信息。联系组,***
***提供了这些符号,如果你需要这个命令***
***工作。 ***
*** ***
***参考类型:ntdll!_HEAP_ENTRY ***
*** ***
******* **************************************************** ****************
类型信息无效
<
解决方案
使用以下命令修复符号路径:
.symfix
.reload
I am trying to use WinDbg debug my .NET application with C++ unmanaged memory allocations.
When I try to run the !heap command, I get the following error message:
0:022> !heap
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Windows\system32\KERNEL32.dll -
*************************************************************************
*** ***
*** ***
*** Your debugger is not using the correct symbols ***
*** ***
*** In order for this command to work properly, your symbol path ***
*** must point to .pdb files that have full type information. ***
*** ***
*** Certain .pdb files (such as the public OS symbols) do not ***
*** contain the required information. Contact the group that ***
*** provided you with these symbols if you need this command to ***
*** work. ***
*** ***
*** Type referenced: ntdll!_HEAP_ENTRY ***
*** ***
*************************************************************************
Invalid type information
How can I fix this error?
解决方案
Use the following commands to fix your symbol path:
.symfix
.reload
这篇关于WinDbg!堆命令由于缺少符号不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文