|
| 1 | +# REQUIRES: python |
| 2 | +# RUN: %lldb -s %s -o exit | FileCheck %s |
| 3 | + |
| 4 | +scripting template list |
| 5 | +# CHECK:Available scripted extension templates: |
| 6 | + |
| 7 | +# CHECK: Name: OperatingSystemPythonInterface |
| 8 | +# CHECK-NEXT: Language: Python |
| 9 | +# CHECK-NEXT: Description: Mock thread state |
| 10 | +# CHECK-NEXT: API Usages: None |
| 11 | +# CHECK-NEXT: Command Interpreter Usages: |
| 12 | +# CHECK-NEXT: settings set target.process.python-os-plugin-path <script-path> |
| 13 | +# CHECK-NEXT: settings set process.experimental.os-plugin-reports-all-threads [0/1] |
| 14 | + |
| 15 | +# CHECK: Name: ScriptedPlatformPythonInterface |
| 16 | +# CHECK-NEXT: Language: Python |
| 17 | +# CHECK-NEXT: Description: Mock platform and interact with its processes. |
| 18 | +# CHECK-NEXT: API Usages: None |
| 19 | +# CHECK-NEXT: Command Interpreter Usages: None |
| 20 | + |
| 21 | +# CHECK: Name: ScriptedProcessPythonInterface |
| 22 | +# CHECK-NEXT: Language: Python |
| 23 | +# CHECK-NEXT: Description: Mock process state |
| 24 | +# CHECK-NEXT: API Usages: |
| 25 | +# CHECK-NEXT: SBAttachInfo.SetScriptedProcessClassName |
| 26 | +# CHECK-NEXT: SBAttachInfo.SetScriptedProcessDictionary |
| 27 | +# CHECK-NEXT: SBTarget.Attach |
| 28 | +# CHECK-NEXT: SBLaunchInfo.SetScriptedProcessClassName |
| 29 | +# CHECK-NEXT: SBLaunchInfo.SetScriptedProcessDictionary |
| 30 | +# CHECK-NEXT: SBTarget.Launch |
| 31 | +# CHECK-NEXT: Command Interpreter Usages: |
| 32 | +# CHECK-NEXT: process attach -C <script-name> [-k key -v value ...] |
| 33 | +# CHECK-NEXT: process launch -C <script-name> [-k key -v value ...] |
| 34 | + |
| 35 | +# CHECK: Name: ScriptedThreadPlanPythonInterface |
| 36 | +# CHECK-NEXT: Language: Python |
| 37 | +# CHECK-NEXT: Description: Alter thread stepping logic and stop reason |
| 38 | +# CHECK-NEXT: API Usages: SBThread.StepUsingScriptedThreadPlan |
| 39 | +# CHECK-NEXT: Command Interpreter Usages: thread step-scripted -C <script-name> [-k key -v value ...] |
| 40 | + |
| 41 | +scripting template list -l lua |
| 42 | +# CHECK: Available scripted extension templates: None |
0 commit comments