找不到匹配的符号文件(无法找到/打开 pdb 文件) [英] A matching symbol file was not found (Cannot find/open pdb file)

查看:32
本文介绍了找不到匹配的符号文件(无法找到/打开 pdb 文件)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

加载此模块时未启用调试点.所以我想到了从Debug/obj"文件夹手动加载它的调试符号.pdb文件.

The debug point is not getting enabled when this module gets loaded. So I thought of manually loading its debug symbols .pdb file from "Debug/obj" folder.

在这种情况下,尽管该文件夹包含当前构建文件,但我收到以下错误在此文件夹中找不到匹配的符号"文件.

In this case I am getting below error "A matching symbol" file was not found in this folder though that folder contains currently build file.

而且符号加载信息"也包含这么多目录路径.

And also the "Symbol Load Information" contains these many directory paths.

Cannot find or open the PDB file.

PDB does not match 

截图:

推荐答案

此问题通过以下步骤修复-

This problem is fixed by the following steps-

1) 如果运行并打开单个 Visual Studio 实例,请关闭 VISUAL STUDIO 的所有实例

1) Close all the instances of VISUAL STUDIO if running and open a single instance of Visual Studio

2) 关闭解决方案(除了您的项目)如果它已经打开,然后再次打开

2) Close the solution (nothing but your project) If it's already open and then re-open again

3) 清理整个项目并重建它.

3) Clean the whole project and rebuild it.

4) 并且如果您遇到诸如找不到 ___.dll"之类的任何错误,请构建项目

4) and also build the project if you are getting any errors like "___.dll not found"

5) 现在您可以开始运行您的项目了

5) Now you are good to go and run your project

这篇关于找不到匹配的符号文件(无法找到/打开 pdb 文件)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆