[Lldb-commits] [lldb] r115485 - in /lldb/trunk: include/lldb/Core/ include/lldb/Target/ source/API/ source/Commands/ source/Core/ source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntimeV2/ source/Target/

Chris Lattner clattner at apple.com
Sun Oct 3 18:18:43 PDT 2010


On Oct 3, 2010, at 6:05 PM, Greg Clayton wrote:

> Author: gclayton
> Date: Sun Oct  3 20:05:56 2010
> New Revision: 115485
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=115485&view=rev
> Log:
> There are now to new "settings set" variables that live in each debugger
> instance:
> 
> settings set frame-format <string>
> settings set thread-format <string>
> 
> This allows users to control the information that is seen when dumping
> threads and frames. The default values are set such that they do what they
> used to do prior to changing over the the user defined formats.

Very cool.  If you're interested, llvm::raw_ostream has ANSI color support, allowing you to do stuff like:

OS.changeColor(raw_ostream::RED, /*bold*/true);
OS << "whatever";

This is used by clang for its color diagnostics.

-Chris



More information about the lldb-commits mailing list