【问题标题】:Visual Studio debug symbol file (.pdb) default search locationsVisual Studio 调试符号文件 (.pdb) 默认搜索位置
【发布时间】:2012-06-11 18:00:23
【问题描述】:

我正在存储一些工件,并且我在不同的子目录中有 .lib 文件和 .dll 文件。 .pdb 文件是根据启动目录(如 .dll 文件)搜索还是根据链接目录(即对应 .lib 的位置)搜索?

我知道我可以指定搜索路径,但我对 Visual Studio 2010 的默认行为感兴趣。

编辑:Doh,这已经被间接询问和回答过,我在最初的搜索中没有找到这个问题。

While remote debugging how are the pdb located (VS 2008)

【问题讨论】:

  • 它告诉你。 Debug + Windows + Modules,右键模块,Symbol Load Information。

标签: visual-studio-2010 debugging visual-studio-debugging debug-symbols pdb


【解决方案1】:

如您所知,当调试器启动会话时,它会开始搜索 PDB 所在的位置。 following article 描述了进程的机制和搜索顺序。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-12-21
    • 1970-01-01
    • 2012-06-25
    • 2020-06-10
    • 2021-07-25
    • 2013-01-13
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多