[Qt-creator] Not scroll editor when stepping in debugger

Jason H scorp1us at yahoo.com
Mon Feb 24 19:11:02 CET 2014

I've used both debuggers. It never occurred to me the difference of behavior. But now that I notice, I think the OP is right, it definitely is preferred when going through loops that fit on screen. 

I see virtues of both approaches. But when equipped with a scroll wheel or area on a track-pad the additional view management from ensureVisible() is not a bother. I support the adding of an option, which I would probably use. 

 From: Wiebe Cazemier <wiebe at halfgaar.net>
To: Ziller Eike <Eike.Ziller at digia.com> 
Cc: Qt Creator mailing list <qt-creator at qt-project.org> 
Sent: Monday, February 24, 2014 12:57 PM
Subject: Re: [Qt-creator] Not scroll editor when stepping in debugger

----- Original Message -----
> From: "Ziller Eike" <Eike.Ziller at digia.com>
> To: "Wiebe Cazemier" <wiebe at halfgaar.net>
> Cc: "andre" <apoenitz at t-online.de>, "Qt Creator mailing list" <qt-creator at qt-project.org>
> Sent: Monday, 24 February, 2014 9:38:03 AM
> Subject: Re: [Qt-creator] Not scroll editor when stepping in debugger
> In that case the editor shows all context of the currently executing line
> though (because all code in that file is visible).
> Br, Eike

True, but when the next statement would be in-screen, that would give you enough context as well. IMO, there is no need for the current line to be centered.

Qt-creator mailing list
Qt-creator at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20140224/14b56ce7/attachment.html>

More information about the Qt-creator mailing list