Page 1 of 2
Failed to initialize debugger && wxFormBuilder can't load
Posted: Fri Oct 16, 2009 6:36 am
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.
Re: Failed to initialize debugger && wxFormBuilder can't load
Posted: Fri Oct 16, 2009 7:48 am
by eranif
Do you have both installed on your machine?
If not, please install them, codelite does not install gdb / wxFormBuilder
Eran
Re: Failed to initialize debugger && wxFormBuilder can't load
Posted: Fri Oct 16, 2009 10:08 am
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!
Re: Failed to initialize debugger && wxFormBuilder can't load
Posted: Fri Oct 16, 2009 10:30 am
by eranif
Do you have any error in the 'Trace' tab when u try to debug?
If you do, please post it here
Eran
Re: Failed to initialize debugger && wxFormBuilder can't load
Posted: Fri Oct 16, 2009 11:06 am
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?
Re: Failed to initialize debugger && wxFormBuilder can't load
Posted: Fri Oct 16, 2009 1:09 pm
by eranif
tnger wrote:xterm -sb -title '"./tt"' -e 'sleep 83228'
Can u run this from the command line?
Eran
Re: Failed to initialize debugger && wxFormBuilder can't load
Posted: Fri Oct 16, 2009 1:20 pm
by tnger
can run, the "-e" option can not exec "sleep". where can i modify that?
i admire that the multiple thinkings of you.
Re: Failed to initialize debugger && wxFormBuilder can't load
Posted: Fri Oct 16, 2009 3:25 pm
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
Re: Failed to initialize debugger && wxFormBuilder can't load
Posted: Fri Oct 16, 2009 3:31 pm
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!
Re: Failed to initialize debugger && wxFormBuilder can't load
Posted: Fri Oct 16, 2009 4:43 pm
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.