User forums > Using Code::Blocks
Have GDB run in terminal?
Somewho:
It's not 100% true to say that problem is in $TITLE. When I used xterm, it correctly uderstood $TITLE for debug also. But I had ^H there :)
Maybe it's a problem with XFCE's terminal. I don't know exactly.
Jenna:
The different terminals do not share the same commandline arguments.
I don't remember the correct settings for xfce-terminal, because I finally switched to gnome 3 and have removed xfce completetly.
Somewho:
--- Quote from: jens on October 28, 2011, 06:27:12 am ---The different terminals do not share the same commandline arguments.
--- End quote ---
Yes, I know. But why line "terminal --title=$TITLE -x" works with "Run" and crashes "Debug"? Parameters are same. As far as I know, something wrong (incompatible with xfce's terminal) with debug's $TITLE.
oBFusCATed:
Does "terminal --title=Test -x sleep 10000" works?
Somewho:
--- Quote from: oBFusCATed on October 28, 2011, 04:28:37 pm ---Does "terminal --title=Test -x sleep 10000" works?
--- End quote ---
It won't work because after "-x" should be adress of executable file to run into terminal. And I haven't fount any analogs for "sleep" option in "terminal -h".
Oh, sorry :) Now I understand what your command means. If I choose "Run", it shows no error, but process exits after 1 sec. And if I choose "Debug", it's running till 1st console input command and waiting while user will enter something. But there is no windows to enter data.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version