[Lldb-commits] [PATCH] D111409: proposed support for Java interface to Scripting Bridge

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 8 11:31:14 PDT 2021


jingham added a comment.

Support for a scripting language in lldb has three distinct pieces.

1. Making the SB API's available to the scripting languages
2. Adding all the callbacks so the scripting language can be used for breakpoint callbacks, data formatters, etc.
3. Adding a REPL for that language to the "script" command

This patch does #1, but not #2 & #3.  Do we care about whether new scripting languages will be able to provide the full "scripting language" experience?  Does there need to be some plan for this before we add on the task of supporting the language?  Maybe it's okay to say "a REPL's too hard, and not worth it" but we should have a plan for adding in the callback interfaces?  Do we want to have somewhere you can advertise levels of support?  I would be sad to spend some time using a scripting language for lldb only to find it doesn't allow me to write breakpoint callbacks, for instance.

This is language #3 so it seems like a fit time to discuss this...


Repository:
  rLLDB LLDB

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

https://reviews.llvm.org/D111409



More information about the lldb-commits mailing list