[Lldb-commits] [lldb] [lldb/Commands] Add `scripting template list` command with auto discovery (PR #97273)
Med Ismail Bennani via lldb-commits
lldb-commits at lists.llvm.org
Tue Jul 2 17:06:40 PDT 2024
medismailben wrote:
FWIW, this is the output it's producing for now:
```
(lldb) scripting template list
Available scripted affordances:
Name: ScriptedProcessPythonInterface
Language: Python
Description: Mock process state
Command Interpreter Usages:
process attach -C <script-name> [-k key -v value ...]
process launch -C <script-name> [-k key -v value ...]
API Usages:
SBAttachInfo.SetScriptedProcessClassName
SBAttachInfo.SetScriptedProcessDictionary
SBTarget.Attach
SBLaunchInfo.SetScriptedProcessClassName
SBLaunchInfo.SetScriptedProcessDictionary
SBTarget.Launch
Name: ScriptedThreadPlanPythonInterface
Language: Python
Description: Alter thread stepping logic and stop reason
Command Interpreter Usages: thread step-scripted -C <script-name> [-k key -v value ...]
API Usages: SBThread.StepUsingScriptedThreadPlan
```
https://github.com/llvm/llvm-project/pull/97273
More information about the lldb-commits
mailing list