Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Problem with GDB.

Problem with GDB.

Scheduled Pinned Locked Moved Qt Creator and other tools
5 Posts 3 Posters 3.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.
  • K Offline
    K Offline
    Kermit
    wrote on last edited by
    #1

    Hi,

    I have a little problem with debugging on Archlinux 64bit. Some info:

    • I have installed Qt SDK
    • Qt Creator 2.3.x
    • GDB 7.3.x
    • GCC 64Bit tool chain

    My problem is that I don't see some object values for example QFile or QDir. Here are screen shot with simple code and my problem: "Screenshot":http://wstaw.org/m/2011/11/16/2011-11-16-185607_1680x1050_scrot.png - look at "file" value.

    How I can fix that problem? It's really annoying :/

    Best regards,
    Kermit.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      gdb 7.3 was not even released when Qt Creator 2.3 was... so it is obviously not supported. It might work, I don't know. Try the Qt Creator 2.4 rc, maybe that will work better?

      Update: Qt Creator 2.3 was tested with a pre-release of gdb 7.3 and is supposed to work with it.

      1 Reply Last reply
      0
      • K Offline
        K Offline
        Kermit
        wrote on last edited by
        #3

        I have downgraded it to GDB 7.2 and problem still exists. Do you use Qt Creator on Linux with GDB? All is working for you? Maybe it's distro problem?

        Kermit.

        1 Reply Last reply
        0
        • D Offline
          D Offline
          Duck
          wrote on last edited by
          #4

          It works for me here (Ubuntu 10.10, 32 bit).

          Are you sure your gdb is compiled with Python scripting enabled?

          I think the best way to handle this is on bugreports.qt.nokia.com. Make sure to attach the Debugger Log (contents of right pane of Windows->Views->Debugger Log).

          1 Reply Last reply
          0
          • K Offline
            K Offline
            Kermit
            wrote on last edited by
            #5

            Yes, it uses Python 2.7.2.
            @[kermit@kermit ~]$ gdb
            GNU gdb (GDB) 7.2
            Copyright (C) 2010 Free Software Foundation, Inc.
            License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
            This is free software: you are free to change and redistribute it.
            There is NO WARRANTY, to the extent permitted by law. Type "show copying"
            and "show warranty" for details.
            This GDB was configured as "x86_64-unknown-linux-gnu".
            For bug reporting instructions, please see:
            http://www.gnu.org/software/gdb/bugs/.
            (gdb) python print "Test"
            Test
            (gdb) @

            "Debugger log":https://gist.github.com/1373481

            Kermit.

            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