问题描述
是否可以从WinDbg中使用DbgEng API来显示符号服务器路径(即)用于所有已加载的模块?
Is there a way from WinDbg, without using the DbgEng API, to display the symbol server paths (i.e. PdbSig70 and PdbAge) for all loaded modules?
我知道
lml
对已加载符号的模块执行此操作.我想知道未加载的符号的这些路径,以便诊断问题.有人知道不必使用DbgEng API就能做到吗?
does this for the modules whose symbols have loaded. I would like to know these paths for the symbols that did not load so as to diagnose the problem. Anyone know if this is possible without having to utilize the DbgEng API?
我也意识到您可以使用
!sym noisy
获取有关符号加载的错误消息.虽然这确实有帮助输出,但它与我想要的其他输出交错在一起,并且不像'lml'这样简单明了
to get error messages about symbols loading. While this does have helpful output it is interleaved with other output that I want and is not simple and clear like 'lml'
推荐答案
!sym嘈杂和!sym quiet可以打开其他输出以加载符号,即:
!sym noisy and !sym quiet can turn on additional output for symbol loading, i.e.:
!sym noisy
.reload <dll>
X <some symbol in that DLL to cause a load>
!sym quiet
当调试器尝试加载PDB时,您将看到它尝试加载的每个路径,以及是否找到或拒绝了PDB.
When the debugger attempts to load the PDB you will see every path that it tries to load and if PDB's weren't found or were rejected.
这篇关于WinDbg,显示已加载模块的Symbol Server路径(即使未加载符号)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!