I am debugging a non-deterministic failure of the TestDAP_exception_cpp.py test. The tested binary throws an uncaught exception, which causes the C++ runtime to call std::terminate
. That eventually calls abort
, which then raises SIGABRT, which is caught by lldb-dap.
The test then makes a DAP request to get the information about the exception. The test will randomly fail sometimes because the returned info is missing the “details” part of the record.
self.assertIsNotNone(exceptionInfo["details"])