
The reproducers currently only shadow the command interpreter. It would be possible to make it work for the Lua interpreter which uses the IOHandlerEditline under the hood, but the Python one runs a REPL in Python itself so there's no (straightforward) way to shadow that. Given that we already capture any API calls, this isn't super high on my list of priorities.
13 lines
364 B
Plaintext
13 lines
364 B
Plaintext
# REQUIRES: python
|
|
# UNSUPPORTED: lldb-repro
|
|
#
|
|
# Test that the scripting language argument to "breakpoint command" is honored
|
|
# even if the global scripting language is different.
|
|
#
|
|
# RUN: cat %s | %lldb --script-language none 2>&1 | FileCheck %s
|
|
b main
|
|
breakpoint command add -s python
|
|
print("foo")
|
|
DONE
|
|
# CHECK: Enter your Python command(s). Type 'DONE' to end.
|