Files
clang-p2996/lldb/test/Shell/ScriptInterpreter/Python/scripted_breakpoint.test
Jonas Devlieghere 5e32eb1c7a [lldb/Commands] Honor the scripting language passed
This ensures that breakpoint command honors the scripting language
passed with `-s`. Currently the argument ignores the actual language and
only uses it to differentiate between lldb and script commands.
2019-12-21 17:35:29 -08:00

12 lines
338 B
Plaintext

# REQUIRES: python
#
# 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.