JDevlieghere added a comment.

This is really great, this is going to save me a lot of time.

I wonder if we should take this even further and make it a first class command 
in lldb, similar to `apropos`. (I wouldn't make it part of apropos, because it 
can already be overwhelming.) By making it its own command, we can have the 
same command for all the supported scripting languages. Similar to `script` it 
would look at the current scripting language by default, but you could also 
search other supported language with a flag. I think the implementation could 
remain the same. Every script interpreter plugin could have a `find` method 
that it implements (or doesn't). For the Python case, it could call the find 
command you have here.

What do you think?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120292

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to