Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

qt with vs2015 compiler generates pdb without line info



  • I use qt creator to develop and add this in my .pro file
    QMAKE_CFLAGS_RELEASE += /Zi
    QMAKE_LFLAGS_RELEASE +=/DEBUG

    to generate a pdb file. The compiler is msvc 2015.
    But when I try to debug the crash poing in vs2015. I can get only the crash function, without line info.Such as:
    CrashDialog::clickCrash(bool)

    instead of
    CrashDialog::clickCrash(bool) Line 32

    What should I do to get the line info?


Log in to reply