================
@@ -101,6 +101,10 @@ void CommandObjectDWIMPrint::DoExecute(StringRef command,
// Add a hint if object description was requested, but no description
// function was implemented.
auto maybe_add_hint = [&](llvm::StringRef output) {
+ static bool note_shown = false;
+ if (note_shown)
+ return;
----------------
JDevlieghere wrote:
I realize this code was already there, but this isn't great. Can we store this
at the debugger level, for example? I'd expect this to show up once per
debugger, and again after having called SBDebugger::Terminate/Initialize.
https://github.com/llvm/llvm-project/pull/114608
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits