[lldb-dev] [Bug 43258] New: Make it easier to find the definition for an alias command
lldb-dev at lists.llvm.org
Mon Sep 9 10:56:12 PDT 2019
Bug ID: 43258
Summary: Make it easier to find the definition for an alias
Component: All Bugs
Assignee: lldb-dev at lists.llvm.org
Reporter: jingham at apple.com
CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org
Currently to see the definition of a command alias, you have to run "help" on
the command, and scan down to the end of the page to see the definition. That
is not very obvious.
One option which came to mind is to have: "command alias name" - which is
currently an error - print the command alias of "name" if it exists. But that
wouldn't work for "command regex name" which enters you into the "enter the
regex substitution strings" IOHandler.
Another option is to add something to help, like:
(lldb) help --print-definition name
To print the definition of "name" if there is one. This could print regex
patterns, the alias mapping and maybe even the bodies of Python defined
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-dev