Issue 171514
Summary LLDB shouldn't show inline diagnostics for things that aren't visible
Labels lldb
Assignees
Reporter JDevlieghere
    For example, when I add `settings set target.run-args -foo` to my `~/.lldbinit`, I see this when I launch LLDB:

```
❯ lldb
                                    ˄˜˜˜
                                    ╰─ error: unknown or ambiguous option
```

We still want to see an error if the command failed, just not by pointing to nothing.

```
❯ lldb
error: unknown or ambiguous option
```

That's still not great, but it would match our existing behavior of showing the command output. For example, this is what you see when you set an invalid option in your `~/.lldbinit`:

```
❯ lldb
"foo" is not a valid subcommand of "settings". Valid subcommands are: append, clear, insert-after, insert-before, list, and others. Use "help settings" to find out more.
```

We could improve both by still printing the command if it failed. That way we don't need to change the inline diagnostics.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to