I am debugging a Qt application. Where can I find Qt's debug dll? I am using vs2010 on windows. It says it needs the pdb file for many .dll from Qt.
pdb file stores all debug information for the project's .exe file, and resides in the \debug subdirectory.
Program database (PDB) is a file format (developed by Microsoft) for storing debugging information about a program (or, commonly, program modules such as a DLL or EXE). PDB files commonly have a . pdb extension. A PDB file is typically created from source files during compilation.
Because without the PDB files, it would be impossible to debug a "Release" build by anything other than address-level debugging. Optimizations really do a number on your code, making it very difficult to find the culprit if something goes wrong (say, an exception is thrown).
As of Qt 5.9, the PDBs corresponding to the Windows distros are available as a separate .zip file for download from this archive: https://download.qt.io/archive/qt/
Just browse to your specific distro and pick between the "uwp" or the "desktop" PDBs as appropriate.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With