Failed to initialize debugger && wxFormBuilder can't load

CodeLite installation/troubleshooting forum
tnger
CodeLite Curious
Posts: 9
Joined: Fri Oct 16, 2009 5:50 am
Genuine User: Yes
IDE Question: c++
Contact:

Re: Failed to initialize debugger && wxFormBuilder can't load

Post by tnger »

I try, this comman line works well (no ' or "):

Code: Select all

xterm -sb -title ./tt -e sleep 83228
Thank you for your help, but where can i modify it ?
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Failed to initialize debugger && wxFormBuilder can't load

Post by DavidGH »

It's in Plugin/macros.h, probably line 97.

I don't know if the -e sleep 83228 will work without any quotes, though: xterm might only read as far as -e sleep. I suggest you try double-quotes in a terminal first, before you rebuild CodeLite.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Failed to initialize debugger && wxFormBuilder can't load

Post by eranif »

DavidGH wrote:It's in Plugin/macros.h, probably line 97.
You better change it from Settings|Editor|Terminal Settings and remove the single quotations from the $CMD argument

Eran
Make sure you have read the HOW TO POST thread
tnger
CodeLite Curious
Posts: 9
Joined: Fri Oct 16, 2009 5:50 am
Genuine User: Yes
IDE Question: c++
Contact:

Re: Failed to initialize debugger && wxFormBuilder can't load

Post by tnger »

eranif wrote: You better change it from Settings|Editor|Terminal Settings and remove the single quotations from the $CMD argument
Eran
Thank you for you help ! But you former method is no effect, so I modify the file just as DavidGH said
DavidGH wrote: It's in Plugin/macros.h, probably line 97.
to

Code: Select all

xterm -sb -title $(TITLE) -e $(CMD)
now my codelite works very well !

And the message form Trance and debug is

Code: Select all

14:06:10: Launching console: xterm -sb -title "./tt" -e sleep 88572

Code: Select all

Running program: xterm -sb -title ./tt  -e ./tt
I hope that can help you, thank you very much, everyone !
Post Reply