windbg配置符号文件
版本:windows 10
版本号:1909
操作系统版本:18363.592
(1)编辑环境变量,Path设置为windbg路径:C:\Program Files (x86)\Windows Kits\10\Debuggers\x64,新建变量_NT_SYMBOL_PATH,值设置为SRV*C:\mysymbol* http://msdl、microsoft、com/download/symbols
(2)重启计算机发现C盘并没有新建文件夹mysymbol
(3)启动windbg连接一个进程,输入!heap结果:
0:024> !heap
*************************************************************************
*** ***
*** ***
*** Either you specified an unqualified symbol, or your debugger ***
*** doesn't have full symbol information. Unqualified symbol ***
*** resolution is turned off by default. Please either specify a ***
*** fully qualified symbol module!symbolname, or enable resolution ***
*** of unqualified symbols by typing ".symopt- 100". Note that ***
*** enabling unqualified symbol resolution with network symbol ***
*** server shares in the symbol path may cause the debugger to ***
*** appear to hang for long periods of time when an incorrect ***
*** symbol name is typed or the network symbol server is down. ***
*** ***
*** For some commands 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
输入: .sympath SRV*C:\mysymbol* http://msdl、microsoft、com/download/symbols
0:024> .sympath SRV*C:\mysymbol* http://msdl、microsoft、com/download/symbols
Symbol search path is: SRV*C:\mysymbol* http://msdl、microsoft、com/download/symbols
Expanded Symbol search path is: srv*c:\mysymbol* http://msdl、microsoft、com/download/symbols
************* Path validation summary **************
Response Time (ms) Location
Deferred SRV*C:\mysymbol* http://msdl、microsoft、com/download/symbols
输入:.reload
0:024> .reload
Reloading current modules
................................................................
.................................
************* Symbol Loading Error Summary **************
Module name Error
ntdll The system cannot find the file specified
You can troubleshoot most symbol related issues by turning on symbol loading diagnostics (!sym noisy) and repeating the command that caused symbols to be loaded.
You should also verify that your symbol search path (.sympath) is correct.
这里卡了我好几天了,百度上的方法都试过了,还是不行,求大佬帮忙看看