"A matching symbol file was not found in this folder " . Getting this error when i try to debug using dump file

Viewed 940

We are having some issue in customer site. So we generated the dump in their site. Now to find out the issue we are loading the dump file from visual studio. I had given the correct symbol path also.

Error which i am getting

A matching symbol file was not found in this folder

Error msg (Eventhough pdb is present is same loaction )

Even though the pdb is present it is saying "A matching symbol file was not found in this folder "

Should the time stamp and date should be same for dll and pdb ? ( In my case pdb and dll source code is same , but date which both are built are different )

In my visual studio in options i have disabled the source code must be same check box also.

My source code is in c++.

Is the time stamp mismatch is the issue ? Is so any workaround is there for this ?

Or any thing which i am doing wrongly ?

I tried to debug using both Visual studio 2013 and Visual studio 2019

Thank you for your time....

1 Answers

Thank you. There was a signature mismatch b/w my dll and pdb .I used Chkmatch tool to check , and i corrected the pdb using the same tool .And it worked .

Link for the tool http://www.debuginfo.com/tools/chkmatch.html

Commands : chkmatch -c ExeFile/dll DebugInfoFile(pdb) --> This command will tell whether your pdb and dll matches

chkmatch -m ExeFile/dll DebugInfoFile(pdb) --> This command will correct your pdb. So this pdb can be used for debugging purpose.

Related