Issue |
130997
|
Summary |
Support `help <OptionValueType>` in LLDB
|
Labels |
lldb
|
Assignees |
|
Reporter |
JDevlieghere
|
LLDB's help should cover the different OptionValue types. The `help` command already [supports](https://github.com/llvm/llvm-project/commit/bcae3cdbd029210e9ecf42f07d38cc4ed4a95230) argument values. We should do the same for option values.
This would be particularly useful for more complicated things like `format-string`. Let's say I have a setting that takes a format string:
```
(lldb) set show thread-format
thread-format (format-string) = "..."
```
Now I'm curious what a format string is, so the obvious thing to do is to use help:
```
(lldb) help format-string
error: 'format-string' is not a known command.
```
Even though they're [documented on the website](https://lldb.llvm.org/use/formatting.html#variables), it would be nice to have access to (as subset) through lldb itself.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs