LB Booster
IDE and Compiler >> Debugger >> Scrolling behaviour of debug windouw
http://lbb.conforums.com/index.cgi?board=debugger&action=display&num=1425370684

Scrolling behaviour of debug windouw
Post by Hans on Mar 3rd, 2015, 07:18am

When the debug window is just opened it is not possible to scroll properly: it keeps jumping to the top. After resizing the debug window behaves properly. A minor inconvenience.

Hans
Re: Scrolling behaviour of debug windouw
Post by Richard Russell on Mar 3rd, 2015, 08:21am

on Mar 3rd, 2015, 07:18am, Hans wrote:
When the debug window is just opened it is not possible to scroll properly: it keeps jumping to the top.

This has changed in v3.00? I don't know how that is possible, because the debugger is identical to what it was in v2.86!

Can you provide some instructions for how to reproduce the effect (if I simply run a program using the debugger, I can scroll the listview OK).

Richard.

Re: Scrolling behaviour of debug windouw
Post by Hans on Mar 3rd, 2015, 09:14am

No, I noticed it before, but didn't bother mentioning it.

First of all you need a code with lots of variables, then set a breakpoint far in that code, so that the debug window shows a vertical scroll bar.

Taking a better look at it I found that it occurs when selecting a line in de debugger window (the line becomes blue). Then scrolling doesn't work. The window tries to keep the selected line in the window. The only way to deselect the line is to resize the window or to minimize it. Then you can scroll again.

Maybe this is this intentional, to keep a variable in sight?

Hans
Re: Scrolling behaviour of debug windouw
Post by Richard Russell on Mar 3rd, 2015, 09:24am

on Mar 3rd, 2015, 09:14am, Hans wrote:
Maybe this is this intentional, to keep a variable in sight?

It's a documented feature: "If you want to monitor the value of a specific variable you can click on it; it will then be highlighted and the list will be scrolled automatically to keep it in view. To deselect that variable click in the title bar of the debugging window."

http://www.lbbooster.com/lbb.html#debugging

As it says, you don't need to re-size the window to deselect the variable, you simply need to click in the title bar.

Richard.