Index: source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp =================================================================== --- source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp +++ source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp @@ -554,6 +554,9 @@ ValueObjectSP ItaniumABILanguageRuntime::GetExceptionObjectForThread( ThreadSP thread_sp) { + if (!thread_sp->SafeToCallFunctions()) + return ValueObjectSP(); + ClangASTContext *clang_ast_context = m_process->GetTarget().GetScratchClangASTContext(); CompilerType voidstar =