[Qt-creator] Debugging fails with QtCreator

Milian Wolff mail at milianw.de
Mon Aug 25 10:05:10 CEST 2014


On Sunday 24 August 2014 23:57:33 André Pönitz wrote:
> On Sun, Aug 24, 2014 at 09:25:26PM +0200, Jochen Becher wrote:
> > Hi,
> > 
> > sorry, I did not make one simple test: settings a breakpoint in the very
> > first statement of int main(). This works so gdb is correctly started.
> > But when it comes to
> > 
> > PluginManager::loadPlugins();
> > 
> > gdb fails. Maybe there is one specific plug-in gdb cannot handle?
> 
> It's the GDB 7.7's demangler that crashes on certain symbols
> created by GCC from some C++11 code, see e.g.
> https://sourceware.org/bugzilla/show_bug.cgi?id=16957
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61233
> and others. The crash is already triggered when a binary
> containing certain symbols is loaded, already without any
> attempt to run something.
> 
> GDB 7.6 is a more robust choice in this respect, but this
> version suffers from some performance issues (see e.g.
> https://sourceware.org/bugzilla/show_bug.cgi?id=15412), but
> is a better choice in this case.
> 
> I can't say anything aboout 7.8 yet.

Don't use it with guile enabled at compile time:

https://sourceware.org/bugzilla/show_bug.cgi?id=17247

Cheers
-- 
Milian Wolff
mail at milianw.de
http://milianw.de



More information about the Qt-creator mailing list