kgdb - GDB: Failed to set controlling terminal: Operation not permitted

Hi,

I’m trying to debug with kdbg, but the program output window sais

warning: GDB: Failed to set controlling terminal: Operation not permitted

and the output does not appear. ( I appears after I finish debugging )
Can somebody pls help me to solve this or tell me another way to debug c programs without creating projects in anjuta, kdevelop, eclipse, netbeans, etc?

PS: with ddd I get the same error