[Lldb-commits] [lldb] [LLDB]Provide clearer error message for invalid commands. (PR #111891)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 11 00:31:36 PDT 2024


================
@@ -70,6 +70,8 @@ class CommandObjectMultiword : public CommandObject {
     return m_subcommand_dict;
   }
 
+  std::string GetTopSubcommands(int count);
----------------
labath wrote:

This is definitely a topic for another patch, but I actually think it would be really cool if this actually returned the first N most popular commands. :) Then we could even have `help breakpoint` start off with the most popular subcommand (definitely `set`) instead of `clear` (which I don't think I've ever used).

https://github.com/llvm/llvm-project/pull/111891


More information about the lldb-commits mailing list