llvm-project/lldb/test/Shell/ScriptInterpreter/Python/scripted_breakpoint_lua.test
Pedro Tammela d055e3a0eb [LLDB/Python] Fix segfault on Python scripted entrypoints
The code that gets the ScriptInterpreter was not considering the
case that it receives a Lua interpreter.

Differential Revision: https://reviews.llvm.org/D92249
2020-12-02 11:25:31 +00:00

9 lines
205 B
Plaintext

# REQUIRES: python
# UNSUPPORTED: lldb-repro
#
# RUN: cat %s | %lldb --script-language lua 2>&1 | FileCheck %s
b main
breakpoint command add -s python -o 'print(frame); return False'
run
# CHECK: frame #0