I Can not DEBUG in Qt creator. Please help~



  • 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



  • 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.



  • 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



  • Hi,

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



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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.