diff --git a/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Control/Thread.cs b/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Control/Thread.cs index ed0cfcb2fa..fe812db873 100644 --- a/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Control/Thread.cs +++ b/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Control/Thread.cs @@ -229,9 +229,11 @@ namespace Debugger this.CorThread.CastTo().InterceptCurrentException(this.MostRecentStackFrame.CorILFrame.CastTo()); } catch (COMException e) { // 0x80131C02: Cannot intercept this exception - if ((uint)e.ErrorCode == 0x80131C02) { + if ((uint)e.ErrorCode == 0x80131C02) + return false; + // 0x80131C33: Interception of the current exception is not legal + if ((uint)e.ErrorCode == 0x80131C33) return false; - } throw; } catch (ArgumentException) { // May happen in release code with does not have any symbols