Debugger cannot evaluate content of class



  • Hello!

    I'm having serious problems using the debugger in Qt Creator 2.5.0. Simple variables can be evaluated in the View "Locals and Expressions" but complexer structs or classes only show the name of the variable and aside a small arrow but not the content.
    Can anyone explain what is going wrong?

    I've the following setup:
    Debian Squeeze 6.0.5
    GDB installed
    Qt Creator 2.5.0
    Qt 4.8.2 libraries

    The libraries were installed as follows:
    ./configure -prefix /usr/local/Trolltech/Qt-4.8.2-i386-X11
    make
    sudo make install

    Thanks for your help!!!!

    Regards,
    Rooney



  • Sorry, but can you extend your post with screenshot or with some extra information. It will be better, because e.g. I can't understand what are you talking about.

    I've had some problems with Qt Creator debbuger on my experience and I know how to fix them but I need more information.

    What type of your class object (with pointer or not)? What kind of your class data you can't evaluate in Qt Debbuger?

    Thanks.



  • Solved the problem!!

    On Debian Squeeze GDB 7.01 is installed but Qt Creator requires Python enabled GDB 7.4. So I followed the instructions on http://qt-project.org/wiki/QtCreatorBuildGdb.



  • [quote author="rooney" date="1340787297"]Solved the problem!!

    On Debian Squeeze GDB 7.01 is installed but Qt Creator requires Python enabled GDB 7.4. So I followed the instructions on http://qt-project.org/wiki/QtCreatorBuildGdb.

    [/quote]

    Good job!


Log in to reply
 

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