From 10e4518ce1776711f972a085909f085102be6c37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Srbeck=C3=BD?= Date: Thu, 21 Sep 2006 19:46:49 +0000 Subject: [PATCH] Fixed SD2-1116: Local variables pad is not updating its content properly when the code is being steped into, generating an exception in the debugger. git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1839 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61 --- .../Debugger/Debugger.Core/Project/Src/Variables/Evals/Eval.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Variables/Evals/Eval.cs b/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Variables/Evals/Eval.cs index 591541a29b..4581cdb62f 100644 --- a/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Variables/Evals/Eval.cs +++ b/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Variables/Evals/Eval.cs @@ -167,6 +167,9 @@ namespace Debugger throw new EvalSetupException("Can not evaluate in optimized code"); } else if ((uint)e.ErrorCode == 0x80131C28) { throw new EvalSetupException("Object is in wrong AppDomain"); + } else if ((uint)e.ErrorCode == 0x8013130A) { + // Happens on getting of Sytem.Threading.Thread.ManagedThreadId; See SD2-1116 + throw new EvalSetupException("Function does not have IL code"); }else { throw; }