================
@@ -848,6 +850,13 @@ void Breakpoint::GetDescription(Stream *s,
lldb::DescriptionLevel level,
const size_t num_locations = GetNumLocations();
const size_t num_resolved_locations = GetNumResolvedLocations();
+ // Grey out any disabled breakpoints in the list of breakpoints.
+ if (GetTarget().GetDebugger().GetUseColor())
+ s->Printf("%s",
+ IsEnabled()
+ ? ansi::FormatAnsiTerminalCodes("${ansi.normal}").c_str()
+ : ansi::FormatAnsiTerminalCodes("${ansi.faint}").c_str());
----------------
chelcassanova wrote:

I also thought that I'd have to reset the colours back to normal somewhere but
when I tried this for a little the colours seemed fine without explicitly
placing a reset somewhere.
I can still add a reset alongside this simplified logic though.
https://github.com/llvm/llvm-project/pull/91404
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits