You are not logged in.
Installed monodevelop and monodevelop-debugger-gdb, selected GDB as the debugger in monodevelop's preferences. When trying to run any C or C++ program, GDB throws this into opened terminal:
&"warning: GDB: Failed to set controlling terminal: Operation not permitted\n"
If continue debugging, in some cases terminal output is not displayed, especially with multiple output streams and newlines and different output functions etc.
Google search is all unsolved threads/bug reports (hope this doesn't become another one ). Users of other IDE's had this issue too, but they bypassed it by changing IDE's settings.
Have tried changing project's settings, IDE's settings etc. Also looked at monodevelop's documentation at http://www.mono-project.com/Debugging#D … g_with_GDB , doesn't help in any way.
When running "gdb <exe>" in project's folder it works as expected, so it's not a problem with comipler flags etc.
Any ideas please. Really want to get this working, best IDE have seen so far.
Last edited by axper (2013-07-03 18:22:59)
Offline
I have no idea, but maybe running it as root can solve your problem?
Offline
Nope, running regular programs as root is not adviced at all.
That said, just for sake of it I tried. Same error.
Offline