[Moved] Qt creator and GDB



  • Hi, I'm fairly new to Qt creator and I want to use Qt Creator for developing a normal C++ file without using Qt libraries. Just yesterday I cleared the issue of importing a c++ project into Qt Creator using 'makefile'. When trying to debug, I get the following error in the "Application output" window
    Debugging starts
    &"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
    <my program's result>
    Debugging has finished.

    Further the debugger log can be found at the following link
    http://pastebin.com/4yVYaX0e

    I currently have Ubuntu 11.10 and Qt Creator 2.3.1.



  • All is well, your program has quit normally.



  • Tobias Hunger: Why am I not able to go to the debug mode?



  • You went into debug mode and straight out of it again:-) Debugging is done once the application finishes.

    Try setting a breakpoint somewhere.


Log in to reply