Stepping is too slow when application has many threads

Anderson Luiz da Silva andersonluizdasilva at uol.com.br
Fri Mar 7 18:21:33 UTC 2008


Patch updated!

Anderson Luiz da Silva wrote:
> Hi, first of all: I'm new here, so, please, forgive any mistake.
>
> I'm working on an application that has many threads (40+) and 
> stepping, in debug mode, takes a long time because at every step 
> KDevelop lists the stack of all threads. Since I don't need to look to 
> stacks every step it is very annoying.
>
> So, I've done some modifications to the FramestackWidget that will 
> speed up debugging. The .diff file is attached.
>
> It basically moves stacks updates from when changes in gdb status 
> occur to when the widget becomes visible.
>
> It works nice to me but certainly needs more tests. I hope this to be 
> useful!
>
> Bye,
> Anderson.
> ------------------------------------------------------------------------
>
> _______________________________________________
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20080307/13e31751/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: framestackwidget.diff
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20080307/13e31751/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5674 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20080307/13e31751/attachment.bin>


More information about the KDevelop-devel mailing list