[Lldb-commits] [lldb] [lldb/Commands] Add `scripting template list` command with auto discovery (PR #97273)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 1 06:07:47 PDT 2024
DavidSpickett wrote:
> If you have a recent build of lldb on windows (with python enabled), could you run the scripting template list command and paste the output here.
As of 229a16590a3cd65da77bb868498d3eed63bf6263:
```
C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build>.\bin\lldb.exe
(lldb) scripting template list
Available scripted extension templates:
Name: OperatingSystemPythonInterface
Language: Python
Description: Mock thread state
API Usages: None
Command Interpreter Usages:
settings set target.process.python-os-plugin-path <script-path>
settings set process.experimental.os-plugin-reports-all-threads [0/1]
Name: ScriptedPlatformPythonInterface
Language: Python
Description: Mock platform and interact with its processes.
API Usages: None
Command Interpreter Usages: None
Name: ScriptedThreadPlanPythonInterface
Language: Python
Description: Alter thread stepping logic and stop reason
API Usages: SBThread.StepUsingScriptedThreadPlan
Command Interpreter Usages: thread step-scripted -C <script-name> [-k key -v value ...]
```
https://github.com/llvm/llvm-project/pull/97273
More information about the lldb-commits
mailing list