[Lldb-commits] [lldb] [lldb] Set return status to Failed when Python command raises uncaught exception (PR #113996)
Dave Lee via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 30 14:48:28 PDT 2024
================
@@ -621,6 +623,9 @@ bool lldb_private::python::SWIGBridge::LLDBSwigPythonCallCommand(
pfunc(debugger_arg, PythonString(args),
SWIGBridge::ToSWIGWrapper(std::move(exe_ctx_ref_sp)), cmd_retobj_arg.obj(), dict);
+ if (PyErr_Occurred())
----------------
kastiglione wrote:
I changed the message to include function or class name.
https://github.com/llvm/llvm-project/pull/113996
More information about the lldb-commits
mailing list