Is it possible to load mismatched symbols in Visual Studio?

Viewed 9880

I've got a Windows minidump (C code) and a corresponding exe file. Unfortunately, I don't have the exact matching .pdb files, but I do have .pdbs that contain the exact same code just built at a different time. In Windbg, I can use:

.symopt+0x40

To tell it to load anything, even mismatched symbol files. This works great in this particular instance, and I'm able to get a proper call stack. I'm just curious as to whether or not Visual Studio has any such feature. We use pretty much every different version of VS here, so it doesn't matter which version it might be in. Thanks.

5 Answers

I'm told that in VS2019 (16.7 .. 16.8 ballpark) that they switched to a multi-threaded PDB file generator to speed that up.

A side effect is that sections of the file, being generated on different threads, may end up in a different order in the file.

Bottom line, it is even more important than before that you use the PDB that was built with the EXE and no other.

Related