Very Sleepy 如何查找符号文件?
有人知道 Very Sleepy 探查器如何找到 PDB 文件吗?它似乎没有使用 _NT_SYMBOL_PATH 环境变量。我已经成功地将 PDB 放在与可执行文件和 DLL 相同的目录中,但我正在尝试分析一个使用大量 DLL 的程序,并且它得到了真的很痛苦。没有某种方法让它指向符号服务器吗?
Has anyone figured out how the Very Sleepy profiler finds PDB files? It seems like it doesn't use the _NT_SYMBOL_PATH env variable.. I've had success by putting PDBs in the same directory as the executable and DLLs, but I'm trying to profile a program that uses a TON of DLLs and it's getting really painful. Isn't there some way to have it point to a symbol server?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
原始 .pdb 文件的路径包含在 DLL 中。只是不要动它们。
《非常困》的源代码随时可用。它使用 DbgHelp API、symbolinfo.cpp 源代码文件。对 SymInitialize() 的调用允许工具指定符号(第二个参数)的搜索路径。它传递 NULL,那就是责任停止的地方。
The path to the original .pdb file is getting included in the DLL. Just don't move them.
The source code for Very Sleepy is readily available. It uses the DbgHelp API, symbolinfo.cpp source code file. The call to SymInitialize() allows a tool to specify the the search path for symbols, 2nd argument. It passes NULL, that's where the buck stops.