Bug 65867 - application window grouping output lines.
Summary: application window grouping output lines.
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdevelop
Classification: Applications
Component: Output Views (show other bugs)
Version: 3.0.0a5
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-11 16:58 UTC by Pupeno
Modified: 2008-06-29 16:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pupeno 2003-10-11 16:58:25 UTC
Version:           3.0.0a5 (using KDE 3.1.4)
Installed from:    Gentoo
Compiler:          gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)
OS:          Linux (i686) release 2.4.22-openmosix

Like syslog's feature of grouping lines that are the same, I think that the application window could group lines that are the same... so, if in a loop I print 10000 times the same line, the application window could show the count and not 10000 lines.
Of course, this should be configurabe (right clicking on the window like in the messages window).
I think it would be kewl if it printed a line, for example "This is a line" like this
This is a line
and the, when it comes again, added in bold font and another color like blue or red the number of time it appeared at the end, so, the next time "This is a line" is printed it could show
This is a line [2]
and then
This is a line [3]
of course, as much as it is printed without other diferent lines being printed.
it could also be intrested in grouping more than one line
This is one line
This is another line

This is one line [2]
This is another line [2]

This is one line [3]
This is another line [3]

and separate the group of lines with colors of the numbers (too advanced and weird ?)
Thanks.
Comment 1 Vladimir Prus 2006-04-27 16:45:00 UTC
Is it typical for application to print identical lines in a loop? Sounds pretty rare situation to me, can you explain when it can happen?
Comment 2 Gaël de Chalendar (aka Kleag) 2006-04-27 16:53:59 UTC
Maybe during debugging with outputs to stdout ?
Comment 3 Andreas Pakulat 2008-06-29 16:49:00 UTC
IMHO we shouldn't encourage debugging-via-printf but debugging with a real debugger. Closing as wontfix.