Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Debugger cannot evaluate content of class

Debugger cannot evaluate content of class

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 2.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rooney
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tucnak
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • R Offline
        R Offline
        rooney
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tucnak
          wrote on last edited by
          #4

          [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!

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved