summaryrefslogtreecommitdiff
path: root/src/vm/corhost.cpp
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2015-10-02 14:55:07 +0200
committerJan Vorlicek <janvorli@microsoft.com>2015-10-03 20:19:25 +0200
commita723811c171a3dae340a08f24afedbfc238b7930 (patch)
treed5c46a00657ba1e5641b9fb919bf71db4835fe73 /src/vm/corhost.cpp
parent125fd8145cd2b57e6ad362910583c10b7f8a493d (diff)
downloadcoreclr-a723811c171a3dae340a08f24afedbfc238b7930.tar.gz
coreclr-a723811c171a3dae340a08f24afedbfc238b7930.tar.bz2
coreclr-a723811c171a3dae340a08f24afedbfc238b7930.zip
Implement refactored Unix managed exception handling
This change refactors managed exception handling so that we perform full first pass over both managed and native frames and only after we find target frame, we perform the second pass. This helps in debugging of unhandled managed exceptions since the debugger can kick in at the end of the first pass when the stack frames are still intact and it can show the context where the exception was fired.
Diffstat (limited to 'src/vm/corhost.cpp')
-rw-r--r--src/vm/corhost.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vm/corhost.cpp b/src/vm/corhost.cpp
index 161b2a1fae..451043fc45 100644
--- a/src/vm/corhost.cpp
+++ b/src/vm/corhost.cpp
@@ -1270,7 +1270,6 @@ HRESULT CorHost2::ExecuteAssembly(DWORD dwAppDomainId,
return HOST_E_INVALIDOPERATION;
}
- INSTALL_UNHANDLED_MANAGED_EXCEPTION_TRAP;
INSTALL_UNWIND_AND_CONTINUE_HANDLER;
_ASSERTE (!pThread->PreemptiveGCDisabled());
@@ -1303,7 +1302,6 @@ HRESULT CorHost2::ExecuteAssembly(DWORD dwAppDomainId,
}
UNINSTALL_UNWIND_AND_CONTINUE_HANDLER;
- UNINSTALL_UNHANDLED_MANAGED_EXCEPTION_TRAP;
ErrExit: