Multithreaded debugging with gdb

Gregor Mi codestruct at posteo.org
Sun Nov 30 15:50:52 GMT 2014



On 30/11/14 14:59, Milian Wolff wrote:
> On Saturday 29 November 2014 23:53:15 Gregor Mi wrote:
>> Hello,
>>
>> I am debugging a QT app that used QtConcurrent::run with kdevelop/gdb. The
>> application hangs until the run method is completed.
>>
>> Is this a gdb issue (like here [1]) or am I maybe missing some QT specific
>> setting?
> 
> Have you tried the example in the bug report? What version of GDB are you 
> using?

No, I did not try the example. I was debugging ksnapshot for this RR:
https://git.reviewboard.kde.org/r/120920/ and I was wondering why the application window
is blocked. It leads to the case that I cannot debug code that is executed while the menu
is still constructed.

So I understand that this is not a general issue with QT/KDE and there are not special
settings.

GNU gdb (GDB; openSUSE 13.2) 7.8

> In general, there should not be any "Qt specific setting". So it might just be 
> this bug indeed:
> 
>> [1] https://bugs.archlinux.org/task/41505
> 
> Bye





More information about the KDevelop mailing list