[Lldb-commits] [PATCH] D120292: [lldb] Add lldb.find helper function

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 24 13:34:59 PST 2022


jingham added a comment.

Could you use `help --scripting` (`help -s`) or maybe `help --api`?  Then you could also do `apropos -s` if you ended up adding an apropos feature in the script interface, which would be consistent and fairly discoverable.  Then for folks that used it all the time they could alias it to something shorter (though `h -s` isn't really so bad...)

In D120292#3343566 <https://reviews.llvm.org/D120292#3343566>, @kastiglione wrote:

> It's too bad `script` doesn't have subcommands, because that might have been a natural place for such a command. Are there any commands you think this could be added? Or would this have to be a new top level command? A new top-level command seems unfortunate.
>
> Speaking of apropos, this tool could have an apropos-like mode where it also searches docstrings in addition to method/property names. I am not sure how useful that would be, but it's worth mentioning.




Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120292/new/

https://reviews.llvm.org/D120292



More information about the lldb-commits mailing list