gdb problem on linux x86_64 - not starting terminal

CodeLite installation/troubleshooting forum
User avatar
LeetShiva
CodeLite Enthusiast
Posts: 20
Joined: Wed Mar 14, 2012 6:39 pm
Genuine User: Yes
IDE Question: C++
Contact:

gdb problem on linux x86_64 - not starting terminal

Post by LeetShiva »

I have new problem with codelite it appears a few weeks ago and forced me to go on Code::Blocks for a while.
I run debian wheezy with linux 3.2 I use codelite 4.0.5589 I installed it from deb http://www.codelite.co.uk/debian/ squeeze contrib

I have problem that when I start debugging of some project debugging perspective start but a terminal doesnt appear and I cant interact with debugging process e.g. cant type input values.
I have build project run it and interact with application when I use run but when I use debug I end up without terminal.
My terminal line is in global editor preferences -> terminal:

Code: Select all

/usr/bin/codelite_xterm '$(TITLE)' '$(CMD)'
I change it sometime to

Code: Select all

 xfce4-terminal -T  '$(TITLE)' -e '$(CMD)' 
because I like to work with xfce4-terminal it have bigger fonts and everything else then xterm.
It doesnt run with either of settings.
I still like to use codelite for writing programs cause it have great code completion but it get tedious when I need to debug my program and dont have terminal appearing.
Is there are some setting that I could change to get terminal ?
I would categorize this as a grave bug but I dont know is there some setting that can change that behavior.
Is there maybe a package I need to downgrade I'm on wheezy ?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: gdb problem on linux x86_64 - not starting terminal

Post by eranif »

Under LInux whn debugging, codelite uses its own built-in terminal.

If you don't see it, it means that something is corrupted in the layout.

To restore it you need to reset the layout:
"Perspective -> Restore Default Layout", it should restore all "missing" windows. If it does not help, remove your local ~/.codelite directory

Eran
Make sure you have read the HOW TO POST thread
User avatar
LeetShiva
CodeLite Enthusiast
Posts: 20
Joined: Wed Mar 14, 2012 6:39 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: gdb problem on linux x86_64 - not starting terminal

Post by LeetShiva »

eranif wrote:Under LInux whn debugging, codelite uses its own built-in terminal.

If you don't see it, it means that something is corrupted in the layout.

To restore it you need to reset the layout:
"Perspective -> Restore Default Layout", it should restore all "missing" windows. If it does not help, remove your local ~/.codelite directory

Eran
Oh thx Eran I thought that it still use a xterm for debugging like in version 3.5 I was used to xterm appearing when I debug :)
I see now there is a white terminal included inside a perspective :)
Now codelite look more similar to Eclipse CDT then to Code::Blocks :)
I think I'll get used with built in terminal but just for curiosity is there a way to enable again a xterm as a debugging input window ? Even if I dont know why would I used xterm beside built in term ? Also can someone change a color of built-in terminal ?
User avatar
LeetShiva
CodeLite Enthusiast
Posts: 20
Joined: Wed Mar 14, 2012 6:39 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: gdb problem on linux x86_64 - not starting terminal

Post by LeetShiva »

One more question ? Do you plan to add symbols browser or outline to codelite ? I mean similar to Eclipse CDT ? I know that is other topic but that is all I would need to use always Codelite and for big projects :)

Edit:
My mistake there is symbol view when I click on plugins and enable symbol view. sigh :) I just wandering do you maybe intend to separate that and enable symbols browser on other side ? Also I'm interested in what you think about refactoring features ?
Post Reply