This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: [python] how best to support colorized output? (with example colorized backtrace)
- From: Tom Tromey <tromey at redhat dot com>
- To: Andrew Sutherland <sombrero at alum dot mit dot edu>
- Cc: archer at sourceware dot org
- Date: Thu, 26 Mar 2009 18:18:51 -0600
- Subject: Re: [python] how best to support colorized output? (with example colorized backtrace)
- References: <gqgvh5$3iq$1@ger.gmane.org>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Andrew" == Andrew Sutherland <sombrero@alum.mit.edu> writes:
Andrew> http://www.visophyte.org/blog/2009/03/04/gaudily-colorized-gdb-backtraces-woo/
Cool!
Andrew> Thiago dropped by and commented, suggesting I post about it here.
Nice outreach, thanks Thiago.
Andrew> While my solution was never intended to make it upstream (and should
Andrew> not), I'd be interesting in finding out how colorized output could be
Andrew> implemented that could be integrated.
I think the only thing I would suggest would be to use the existing
filtering backtrace, and just reimplement colorization as a filter.
If that's not possible (I didn't dig into the details too much), let's
modify the existing Python backtrace command to make it possible :-)
Tom