================ @@ -2,25 +2,32 @@ Test exception behavior in DAP with c++ throw. """ -from lldbsuite.test.decorators import * -from lldbsuite.test.lldbtest import * -import lldbdap_testcase +from lldbsuite.test.decorators import skipIfWasm, skipIfWindows +from lldbsuite.test.tools.lldb_dap import lldb_dap_testcase +from lldbsuite.test.tools.lldb_dap.dap_types import LaunchArgs -@skipIfWasm # wasm inferiors are built with -fno-exceptions -class TestDAP_exception_cpp(lldbdap_testcase.DAPTestCaseBase): +@skipIfWasm # wasm inferiors are built with -fno-exceptions. +class TestDAP_exception_cpp(lldb_dap_testcase.DAPTestCaseBase): ---------------- da-viper wrote:
Added a new test for `throw` and `catch` exception breakpoints. If you mean why it is stopping a a signal. If a thrown c++ exception is unhandled, by default std::terminate is called by the runtime which then sends `signal ABRT`. https://github.com/llvm/llvm-project/pull/207029 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
