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. Debugging with cdb

Debugging with cdb

Scheduled Pinned Locked Moved Qt Creator and other tools
6 Posts 4 Posters 3.7k 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.
  • E Offline
    E Offline
    elephanten
    wrote on last edited by
    #1

    Hello everyone,

    I've setup win7 + msvs 2010 ultimate + windows SDK + windows DDK (to get cdb.exe) + Qt 4.8.4 + QtCreator 2.6.1 (MSVS). I've set up the toolchain and pointed the creator to cdb.

    The problem is that the is no user-friendly information in watch window for internal Qt's types. As to debug helpers: they are enabled and IDE configuration dialog says "not needed" for QML observer, QML debugger and GDB helper, which I suspect to be reasonable.

    So is it possible to have nice view of Qt's types?

    [moved to tools, koahnig]

    1 Reply Last reply
    0
    • E Offline
      E Offline
      elephanten
      wrote on last edited by
      #2

      Well, by now QString is shown ok, but, say, QDir is not. Is it ok?

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

        Are you using a debug build of Qt? Release builds hide quite a bit of internal structure which makes it impossible to watch datatypes in the debugger (basically all containing a d-pointer).

        1 Reply Last reply
        0
        • J Offline
          J Offline
          Jantu
          wrote on last edited by
          #4

          Would updating GDB help to get more information out from Qt types? According this http://stackoverflow.com/questions/4720591/how-do-i-make-qt-creators-debugger-show-the-contents-of-c-vectors-in-os-x

          I tried it out, but when starting debuggin I get error from gdb: GDB: Failed to set controlling terminal: Operation not supported on socket\n

          Any ideas what's wrong?

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

            You can safely ignore that message. Gdb does not like something about the way it is interacted with. The same happens in many other IDE that embed gdb.

            1 Reply Last reply
            0
            • G Offline
              G Offline
              Gridlock
              wrote on last edited by
              #6

              I am having the same issue. Qt types don't display properly while debugging in Qt Creator. Any solution?

              Win7 64-bit
              win 7 SDK (msvc 2010 + CDB)
              Qt 4.8.5
              Qt Creator 2.8.1

              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