D9918: GDB Qt pretty printers: print size of container
noreply at phabricator.kde.org
Tue Jan 16 12:43:37 UTC 2018
mwolff created this revision.
mwolff added reviewers: KDevelop, dfaure.
Restricted Application added a subscriber: kdevelop-devel.
mwolff requested review of this revision.
The pretty printers already had a pretty approach for empty
containers, these got an 'empty ' prepended to their output.
But when you are printing large containers, how do you know the
size of the container? Often, it's not straight forward to get
to the size, e.g. for a QList. To help the user of the debugger,
always append '(size = N)' to the output, which works for all
situations. Remove the empty prefix, which is now obsolete.
To: mwolff, #kdevelop, dfaure
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KDevelop-devel