debugger attention patch

Jens Dagerbo jens.dagerbo at swipnet.se
Thu Jan 4 06:36:28 UTC 2007


Hi,

I've long wished that KDevelop would let me know when the debugger has stopped 
on a breakpoint, if I don't have the KDevelop window visible (which is 
typically the case when debugging an app maximized).

Well.. aseigo happend to stumble by #kdevelop, and I took the opportunity to 
leech a critical bit of API knowledge from him and subsequently came up with 
this patch.

It's a short trivial thing, but it really improves the usability of the 
debugger for the above usecase. When the debugger stops on a breakpoint, and 
KDevelop doesn't have focus, the KDevelop taskbar entry flashes. It only 
handles breakpoints.. but if there is any other case where the debugger needs 
attention, it's probably easily added there as well. 

I don't know the debugger code very well, but it seems correct, and works 
well, so unless someone (Vladimir) objects, I'd like to commit it. :)


Btw, Matt didn't seem to mind... unless he was being sarcastic.. ;)
>[05:00:13] <mattr> teatime: commit!


// jens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bpdemandattention.diff
Type: text/x-diff
Size: 1580 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20070104/9fecc0ce/attachment.bin>


More information about the KDevelop-devel mailing list