Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Everytime i go to debug some code in QTCreator, i get this GDB error returning.

Current setup: Ubuntu 11.04 QT Creator version: 2.1.0 GDB Version: GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2

Debugging starts &"warning: GDB: Failed to set controlling terminal: Invalid argument\n"

I've also tried debugging from CLI with the following results:

charles@virtubuntu:~/Documents/it327/Day3/Lab1-build-desktop$ qtcreator -debug Lab1
Warning: HANDLE RUNCONTROL START FAILED (no active run control)
UNEXPECTED STATE TRANSITION:  "State changed from EngineSetupFailed(2) to DebuggerFinished(21)." 
Warning: State changed from EngineSetupFailed(2) to DebuggerFinished(21). (no active run control)
Warning: (gdb)  (no active run control)

Any ideas on how to resolve this so i can actually debug my code?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Apparently this was fixed in Qt Creator 2.2.0, #2837.

Version 2.2.1 will be available with Oneiric.

share|improve this answer
    
I'm holding out to see if someone has a fix for 11.04, but this was a good find. Thank you –  lazyPower Sep 28 '11 at 22:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.