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. I Can not DEBUG in Qt creator. Please help~

I Can not DEBUG in Qt creator. Please help~

Scheduled Pinned Locked Moved General and Desktop
5 Posts 4 Posters 3.6k 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.
  • A Offline
    A Offline
    ambient
    wrote on last edited by
    #1

    I use qt-creator debug application in mac os .
    but always

    @
    Debugging starts
    &"warning: GDB: Failed to set controlling terminal: Operation not supported on socket\n"
    Debugging has finished
    @

    I can't understand, what's wrong?

    Qt-Creator version : 3.0
    GDB 7.6.2

    1 Reply Last reply
    0
    • P Offline
      P Offline
      panosk
      wrote on last edited by
      #2

      Hi,

      Assuming you also use Qt 5.2, switch the debugger to LLDB (it should be auto-detected in you debugger options). I guess you use OS X 10.9, in which Apple dropped GDB support.

      1 Reply Last reply
      0
      • C Offline
        C Offline
        chrispol
        wrote on last edited by
        #3

        I have the same issue, if i select lldb i just get debugging started/ended application never debug's

        Gdb 7.6.2, all thanks to osx/xcode update

        I am compiling everything for osx 10.6

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

          Hi,

          I am also having the exact same issue. My code is compiled using the non-native gcc.

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jqsc
            wrote on last edited by
            #5

            Hi,

            I was having the same issue, including the started/ended issue with lldb. The issue seemed to have resolved itself when updating qt creator from version 3.0.1 to 3.1.0 and switching back to lldb, my gdb is still broken - currently stops at breakpoints however I am unable to step.

            Hope this works for you too!

            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