|
|
@ -229,9 +229,11 @@ namespace Debugger |
|
|
|
this.CorThread.CastTo<ICorDebugThread2>().InterceptCurrentException(this.MostRecentStackFrame.CorILFrame.CastTo<ICorDebugFrame>()); |
|
|
|
this.CorThread.CastTo<ICorDebugThread2>().InterceptCurrentException(this.MostRecentStackFrame.CorILFrame.CastTo<ICorDebugFrame>()); |
|
|
|
} catch (COMException e) { |
|
|
|
} catch (COMException e) { |
|
|
|
// 0x80131C02: Cannot intercept this exception
|
|
|
|
// 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; |
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
throw; |
|
|
|
throw; |
|
|
|
} catch (ArgumentException) { |
|
|
|
} catch (ArgumentException) { |
|
|
|
// May happen in release code with does not have any symbols
|
|
|
|
// May happen in release code with does not have any symbols
|
|
|
|