Can debug symbols be constructed after the fact?

We have hundreds of MSVC 9.0 C ++ projects. One DLL came out of the public without the correct compiler / linker settings to generate characters, and we get mini-dumps back that indicate an exception in this DLL. We have the exact source code used to create this DLL. Can it be compiled to create characters that we can use to debug these dumps? If so, how can I say windbg "please use these characters for this dll, even if the timestamps will be different"? Thank.

+3
source share
1 answer

Use the command .reload /ito load nonconformity characters.

/ i ignores the mismatch in the version .pdb file. (If you do not enable this option, the debugger does not load inconsistent symbol files.) When you use / i, / f is also used, even if you do not explicitly specify it.

NTN

+4
source

Source: https://habr.com/ru/post/1770138/


All Articles