Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A matching symbol file was not found (Cannot find/open pdb file)

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 

Screenshot:

enter image description here

like image 266
Ram Avatar asked Sep 20 '16 16:09

Ram


People also ask

Where to find pdb file?

pdb file stores all debug information for the project's .exe file, and resides in the \debug subdirectory.

What is the use of PDB file in C#?

A program database file (extension . pdb) is a binary file that contains type and symbolic debugging information gathered over the course of compiling and linking the project. A PDB file is created when you compile a C/C++ program with /ZI or /Zi or a Visual Basic, Visual C#, or JScript program with the /debug option.


1 Answers

This problem is fixed by the following steps-

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

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

3) Clean the whole project and rebuild it.

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

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

like image 91
Ram Avatar answered Oct 02 '22 03:10

Ram