[lldb-dev] [Bug 43258] New: Make it easier to find the definition for an alias command
via lldb-dev
lldb-dev at lists.llvm.org
Mon Sep 9 10:56:12 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=43258
Bug ID: 43258
Summary: Make it easier to find the definition for an alias
command
Product: lldb
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P
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
commands...
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20190909/95ea06e6/attachment.html>
More information about the lldb-dev
mailing list