[all-commits] [llvm/llvm-project] 4d7888: [LLDB]Provide clearer error message for invalid co...

Vy Nguyen via All-commits all-commits at lists.llvm.org
Tue Oct 15 07:15:09 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4d788814061a1003f577e293f2cd74b30223e050
      https://github.com/llvm/llvm-project/commit/4d788814061a1003f577e293f2cd74b30223e050
  Author: Vy Nguyen <vyng at google.com>
  Date:   2024-10-15 (Tue, 15 Oct 2024)

  Changed paths:
    M lldb/include/lldb/Interpreter/CommandObjectMultiword.h
    M lldb/source/Commands/CommandObjectMultiword.cpp
    A lldb/test/Shell/Commands/command-wrong-subcommand-error-msg.test

  Log Message:
  -----------
  [LLDB]Provide clearer error message for invalid commands. (#111891)

Sometimes users (esp. gdb-longtime users) accidentally use GDB syntax,
such as `breakpoint foo`, and they would get an error message from LLDB
saying simply `Invalid command "breakpoint foo"`, which is not very
helpful.

This change provides additional suggestions to help correcting the
mistake.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list