
LLDB is ignoring compilation errors for one-line breakpoint scripts. This patch fixes the issues and now the error message of the ScriptInterpreter is shown to the user. I had to remove a new-line character for the Lua interpreter since it was duplicated. Differential Revision: https://reviews.llvm.org/D92729
8 lines
201 B
Plaintext
8 lines
201 B
Plaintext
# REQUIRES: python
|
|
# UNSUPPORTED: lldb-repro
|
|
#
|
|
# RUN: %lldb -s %s --script-language python 2>&1 | FileCheck %s
|
|
b main
|
|
breakpoint command add -s python -o "1234_foo"
|
|
# CHECK: error: SyntaxError({{.*}})
|