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
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.