Page 1 of 1

Using gdbinit file: ~/.gdbinit Failed to initialize debugger

Posted: Mon Nov 01, 2010 10:27 am
by jiapei100
Hi, Eran:

I met the same problem as reported at:
http://sourceforge.net/tracker/index.ph ... tid=979960

The solution is correct for Lucid.

According to the report of trace in Codelite IDE v2.7.0.4375 under Ubuntu 10.10
I obtained the following messages:
13:39:37: Loaded debugger: GNU gdb debugger, Version: v2.0
13:39:37: Loaded plugin: wxFormBuilder integration with CodeLite
13:39:37: Loaded plugin: Cscope Integration for CodeLite
13:39:37: Loaded plugin: Wizards Plugin - a collection of useful utils for C++
13:39:37: Loaded plugin: Snippet wizard
13:39:37: Loaded plugin: Continuous build plugin which compiles files on save and report errors
13:39:37: Loaded plugin: A plugin that allows user to launch external tools from within CodeLite
13:39:37: Loaded plugin: Qt's QMake integration with CodeLite
13:39:37: Loaded plugin: CppCheck intergration for CodeLite IDE
13:39:37: Loaded plugin: Source Code Formatter (AStyle)
13:39:37: Loaded plugin: A Unit test plugin based on the UnitTest++ framework
13:39:37: Loaded plugin: Copyright Plugin - a small plugin that allows you to place copyright block on top of your source files
13:39:37: Loaded plugin: Subversion plugin for codelite2.0 based on the svn command line tool
13:39:37: Loaded plugin: Abbreviation plugin
13:39:38: Loading accelerators from '/home/jiapei/.codelite/config/accelerators.conf'
13:39:38: Loading accelerators from '/usr/share/codelite/config/accelerators.conf.default'
13:39:38: Loading accelerators from '/usr/lib/codelite/resources/abbreviation.accelerators'
13:39:38: Loading accelerators from '/usr/lib/codelite/resources/external_tools.accelerators'
13:39:38: Loading accelerators from '/usr/lib/codelite/resources/cscope.accelerators'
13:39:38: Install path: /usr/share/codelite
13:39:38: Startup Path: /home/jiapei/.codelite
13:39:38: Loading accelerators from '/home/jiapei/.codelite/config/accelerators.conf'
13:39:38: Loading accelerators from '/usr/share/codelite/config/accelerators.conf.default'
13:39:38: Loading accelerators from '/usr/lib/codelite/resources/abbreviation.accelerators'
13:39:38: Loading accelerators from '/usr/lib/codelite/resources/external_tools.accelerators'
13:39:38: Loading accelerators from '/usr/lib/codelite/resources/cscope.accelerators'
13:39:41: Loading accelerators from '/home/jiapei/.codelite/config/accelerators.conf'
13:39:41: Loading accelerators from '/usr/share/codelite/config/accelerators.conf.default'
13:39:41: Loading accelerators from '/usr/lib/codelite/resources/abbreviation.accelerators'
13:39:41: Loading accelerators from '/usr/lib/codelite/resources/external_tools.accelerators'
13:39:41: Loading accelerators from '/usr/lib/codelite/resources/cscope.accelerators'
13:39:41: Info: CodeLite is up-to-date (or newer), version used: 4375, version on site:4375
13:39:56: Launching console: /usr/bin/codelite_xterm '"./facedirectionestimation"' 'sleep 90566'
13:39:57: Failed to allocate console for debugger, do u have Xterm installed?
13:41:38: Launching console: /usr/bin/codelite_xterm '"./WXBuildStatisticalModels"' 'sleep 90566'
13:41:39: Failed to allocate console for debugger, do u have Xterm installed?


I did install xterm, but there is no codelite_xterm under /usr/bin ..
Where can I download such a file for Ubuntu 10.10?
Or, can I just use Lucid one at http://bazaar.launchpad.net/~ubuntu-bra ... lite_xterm

Well, anyway, I'll try lucid one.

Best Regards
JIA

Re: Using gdbinit file: ~/.gdbinit Failed to initialize debugger

Posted: Mon Nov 01, 2010 11:04 am
by jiapei100
Yes, that one works.

Problem solved.


JIA