================
@@ -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;
----------------
adrian-prantl wrote:

If we tie it to a module, we could use the mechanism introduced in 
https://github.com/llvm/llvm-project/pull/112801/files to automatically show it 
once per session.

> I'd expect this to show up once per debugger

You mean once per type _and_ debugger, right?

https://github.com/llvm/llvm-project/pull/114608
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to