[Qt-creator] Debugging fails with QtCreator

Jochen Becher jochen_becher at gmx.de
Sun Aug 24 23:06:51 CEST 2014


Hi Orgad,

thank you for that information. Hm, it is not that easy to downgrade gdb
to 7.6. Ubuntu 14.04 is not proving that version and I couldn't find any
repository that provides it.

I assume I have to compile gdb 7.6 from source. Will see how that works.

Regards, Jochen


Am Sonntag, den 24.08.2014, 22:58 +0300 schrieb Orgad Shaneh:
> On Sun, Aug 24, 2014 at 10:57 PM, Orgad Shaneh <orgads at gmail.com>
> wrote:
>         Looks like this bug (actually a GDB bug)...
>         
>         
>         - Orgad
>         
>         
>         On Sun, Aug 24, 2014 at 10:34 PM, Jochen Becher
>         <jochen_becher at gmx.de> wrote:
>                 Hi,
>                 
>                 and a little bit more information: If I disable all
>                 plug-ins except core
>                 and texteditor it works. If I enable projectexplorer
>                 it fails.
>                 
>                 What makes projectexplorer so special?
>                 
>                 Regards, Jochen
>                 
>                 
>                 Am Sonntag, den 24.08.2014, 21:25 +0200 schrieb Jochen
>                 Becher:
>                 > 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?
>                 >
>                 > Regards, Jochen
>                 >
>                 >
>                 > Am Sonntag, den 24.08.2014, 21:07 +0200 schrieb
>                 Jochen Becher:
>                 > > Hi,
>                 > >
>                 > > until yesterday I compiled QtCreator on Ubuntu
>                 14.04 with the system's
>                 > > gcc and Qt 5.2.0 and running and debugging worked
>                 well.
>                 > >
>                 > > Now I switched to Qt 5.3. Running still works fine
>                 but gdb exits after
>                 > > loading all (or at least a lot) of the shared
>                 objects. I do not have any
>                 > > breakpoints set.
>                 > >
>                 > > It is not the original master, some plugins and a
>                 few changes on the
>                 > > main source code are done but debugging worked for
>                 the last months
>                 > > without problems.
>                 > >
>                 > > I tried a smaller program with Qt 5.3 and
>                 debugging worked well.
>                 > >
>                 > > Any idea? Has something changed with Qt 5.3 which
>                 may break gdb?
>                 > >
>                 > > This is gdb's log:
>                 > >
>  
> I just stayed with gdb 7.6 to avoid it...
> 
> 
> - Orgad





More information about the Qt-creator mailing list