DEBUGGER problem in MSVS 2010 Qt4.8

  • Please help me out, as I am unable to get any solution to my problem.
    I am not able to DEBUG with Qt 4.8 which is MSVS 2010 compiled.
    Not able to get any solution at Internet.
    At last decided to debug in MSVStudio only , but then came to know that MSVS add in for Qt does not support MSVS Express.
    So please help me out as if it is not possible, or sort of BUG, or am i going in wrong direction.
    For the reference, the application output gives:
    Debug starts
    Debug finished
    If somebody had similar kind of problem, than i will discuss this in detail,what all I did..

  • Lifetime Qt Champion

    Hi and welcome to DevNet,

    First thing to rule out, does your application start ?

  • Thanks
    And thanks for replying.
    No, it doesnt..
    However it is working perfectly fine in release mode.

  • Your Qt version might NOT be built in "debug" mode.

  • I have that doubt and thats why downloaded the QT 4.8.4 source code and compiled it in MSVS2010.
    configure -debug-and-release -opensource -platform win32-msvc2010

    command assuming that it will compile it in both debug and release mode.
    The compilation is complete.
    Now I am thinking which creator i should test this build

  • Lifetime Qt Champion

    Even if Qt's not built in debug mode, that should stop the debugger from starting, it wont be able to give useful information but that's another problem.

    Are you using 3rd party libraries ? Are they in your PATH when you run in debug ?
    If you run the application from explorer, or command line, what message do you get ?

  • Yes I am using ZMQ and thrift libraries but all requisites are included.
    HOwever i am getting this as copilation output:

    qtmaind.lib(qtmain_win.obj) : warning LNK4099: PDB 'vc100.pdb' was not found with 'qtmaind.lib(qtmain_win.obj)' or at 'mydirectory\debug\debug\vc100.pdb'; linking object as if no debug info

  • Lifetime Qt Champion

    It means that you are mixing debug and release dlls.

    Did you check the PATH variable to ensure that your 3rd party dlls are found when running in debug mode ?

    Does your 3rd party dlls offer debug versions ?

Log in to reply

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