From fc28d8cd091c0e64f5547d7446823353c393c99b Mon Sep 17 00:00:00 2001 From: Jesus Checa Hidalgo Date: Fri, 15 Jul 2022 12:30:16 +0200 Subject: [PATCH] python-embedded-interpreter: fix line breakpoint Breaking in line 9 was actually out of main() context which might cause issues. Corrected to point to line 8 --- python-embedded-interpreter/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-embedded-interpreter/test.sh b/python-embedded-interpreter/test.sh index 52b42e4..e495f58 100755 --- a/python-embedded-interpreter/test.sh +++ b/python-embedded-interpreter/test.sh @@ -6,7 +6,7 @@ rpm -q --requires "$LLDB_PACKAGE" | grep python3-lldb # Sanity test g++ -g test.cpp -lldb -b -o 'breakpoint set --file test.cpp --line 9' \ +lldb -b -o 'breakpoint set --file test.cpp --line 8' \ -o run -o 'p i' -o 'p f'\ -- a.out | tee lldb.log