Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Debugger cannot evaluate content of class

    General and Desktop
    2
    4
    1821
    Loading More Posts
    • 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
      rooney last edited by

      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 Reply Quote 0
      • T
        tucnak last edited by

        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 Reply Quote 0
        • R
          rooney last edited by

          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 Reply Quote 0
          • T
            tucnak last edited by

            [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 Reply Quote 0
            • First post
              Last post