Inspecting array during debugging, question.

Niko Sams niko.sams at gmail.com
Tue Jun 21 06:02:48 BST 2011


On Thu, Jun 16, 2011 at 17:35, Konstantin Khavrych <khavrych at gmail.com> wrote:
> Hello all,
> While debugging I noticed in the Variables window if I click on the array it
> will show only the first five array elements. If I want to see the next five
> elements I have to click again, and so on.
> How do I change that behavior? I want to click once on the array and see all
> the elements.
> Thank you!
Hi,

we do that for performance reasons. There could be thousands of
elements and fetching
those would slow down the debugger.
Five is hardcoded in the code afaik, if you think that should be
changed please create
a wish on bugs.kde.org or post a patch on reviewboard.kde.org.
The initial 5 should not change imho.

Niko




More information about the KDevelop mailing list