-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
6.4.2
-
None
-
Windows 10, Visual Studio 2022
I'm trying to debug my project. I'm using Visual Studio 2022 and Qt 6.4.2 Commercial. I'd like to step into Qt library code, but cannot because
Cannot find or open the PDB file.
I've double checked what I've downloaded from Qt matches (their MD5 file agree with what I downloaded).
I inspected the dll and pdb signatures for the debug Qt Core DLL:
dumpbin.exe Qt6Cored.dll has the lines:
Debug Directories Time Type Size RVA Pointer -------- ------- -------- -------- -------- 6397073D cv 44 00C6B300 C69B00 Format: RSDS, {B713CCD9-B63E-45B8-BAB2-1165E50F2E75} , 1, C:\Users\qt\work\qt\qtbase\bin\Qt6Cored.pdb 6397073D feat 14 00C6B344 C69B44 Counts: Pre-VC++ 11.00=0, C/C++=305, /GS=305, /sdl=0, guardN=50
dbh.exe Qt6Cored.pdb info gives the line:
PdbSig70 : 0xb8de71e0, 0xe814, 0x4e1c, 0xbc, 0x37, 0xb8, 0xc1, 0x4a, 0xe8, 0x94, 0xde
After formatting both IDs, you see the mismatch:
B713CCD9B63E45B8BAB21165E50F2E75 (dll)
B8DE71E0E8144E1CBC37B8C14AE894DE (pdb)