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:

Failed to initialize debugger && wxFormBuilder can't load

Post by tnger »

Hello, everyone!

Sorry to trouble you, but I encounter two problems in using CodeLite SVN Build Revision:3169 (my OS is Slackware Linux 12.0):

1. when "Start Debug", the debug information is:

Code: Select all

Using gdbinit file: /home/tnger/.gdbinit
Failed to initialize debugger: /usr/bin/gdb
2. when right-click a .fbp file to "open with wxformbuilder", nothing happened, no wxformbuilder window show.

How to solve these ? I will appreciated for anyone's words, thank you firstly.
User avatar
eranif
CodeLite Plugin
Posts: 6375
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 »

Do you have both installed on your machine?

If not, please install them, codelite does not install gdb / wxFormBuilder

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:Do you have both installed on your machine?

If not, please install them, codelite does not install gdb / wxFormBuilder

Eran
I know that ,wxformbuilder is not installed;

but gdb is the default in my machine, version is 6.6.

why can not debug ? Thank you!
User avatar
eranif
CodeLite Plugin
Posts: 6375
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 »

Do you have any error in the 'Trace' tab when u try to debug?
If you do, please post it here
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 »

Code: Select all

15:03:21: Launching console: xterm -sb -title '"./tt"' -e 'sleep 83228'
15:03:22: Failed to allocate console for debugger, do u have Xterm installed?
xterm has installed. is the command have errors?
User avatar
eranif
CodeLite Plugin
Posts: 6375
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 »

tnger wrote:xterm -sb -title '"./tt"' -e 'sleep 83228'
Can u run this from the command line?

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 »

Code: Select all

xterm -sb -title '"./tt"'
can run, the "-e" option can not exec "sleep". where can i modify that?
i admire that the multiple thinkings of you. :D
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 »

Hi,
(my OS is Slackware Linux 12.0)
Is that a typo for 13.0? ;)
can run, the "-e" option can not exec "sleep". where can i modify that?
I tested xterm -sb -title '"./tt"' -e 'sleep 83228' in slackware 13 and also in an old 12.0 partition. It worked fine in both.

Your other thread suggests your locale has a problem with single-quotes. I wonder if that is the problem here too.

Regards,

David
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 »

DavidGH wrote:I tested xterm -sb -title '"./tt"' -e 'sleep 83228' in slackware 13 and also in an old 12.0 partition. It worked fine in both.
Yes, it is, but the window splash very little time.

Thanks!
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 »

Yes, it is, but the window splash very little time.
Not for me; it stayed open until I closed it.

Try using double-quotes: ..."sleep 83228". That won't help in CodeLite, but if it works in a terminal, it will prove that the single-quotes are the problem.
Post Reply