Bug 304815 - Show all values of a vector variable
Summary: Show all values of a vector variable
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: CPP Debugger (show other bugs)
Version: git master
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-08 19:08 UTC by David
Modified: 2014-01-25 01:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David 2012-08-08 19:08:51 UTC
In the "Variables" panel, if I have a vector<int> of length 100, it will show 5 values, and then have a "...". If I double click the "..." I get 5 more values... but I want to see all 100 values sometimes. Would it be possible to add a right click -> Show All or similar?

Reproducible: Always
Comment 1 Niko Sams 2012-08-25 09:29:15 UTC
Showing all is not really an option, because that could be a looot. Would it solve your issue if we simply load more than 5? like 50 or so?
Comment 2 David 2012-08-26 22:49:08 UTC
What about a "right click -> Show all values"? This way it the users fault if they choose to display 1,000,000 values - but they have the option to show all, say 200, if they wish.
Comment 3 Niko Sams 2012-08-27 06:19:49 UTC
I still don't like it :D
1. the user may not know that there a million entries
2. the user should not have the possibility to break something

Why do you think my proposal is not enough?
Comment 4 David 2012-08-27 11:22:50 UTC
Because sometimes the current "show only 5" behavior could be desirable :). I didn't realize it before, but you are correct that the length is not displayed. Could it be? Instead of

myVector    {...}

could it show

myVector (20) {...}

?