Critical bug when debugging

Jens Dagerbo jens.dagerbo at swipnet.se
Tue Jan 9 19:34:39 UTC 2007


On Tuesday 09 January 2007 19:13, Andras Mantia wrote:
> On Tue Jan 9 2007, Jens Dagerbo wrote:
> > Can you try commenting out the focus-restore fix? It's in
> > languages/cpp/debugger/debugger.cpp, line 175:
> > m_partController->activatePart(m_partController->partForURL(
> > doc->url() ));
> >
> > (hmm.. seeing it now.. why isn't that simply
> > m_partController->activatePart(doc) ?)
>
> Yes, commentin out that line helps.

Hmm.. I think I can guess.. the patch attempted to restore focus when 
breakpoints were moved, but it is a bit too enthusiastic and ends up setting 
focus on any mark change.. and moving the intruction pointer icon is a mark 
change..

please try the attached patch and see if it solves it.

// jens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: focus_restore_hack2.diff
Type: text/x-diff
Size: 1439 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20070109/31486a0c/attachment.bin>


More information about the KDevelop-devel mailing list