diff --git a/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Threads/Function.cs b/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Threads/Function.cs index cc77d60622..26e3385139 100644 --- a/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Threads/Function.cs +++ b/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Threads/Function.cs @@ -380,6 +380,11 @@ namespace Debugger public IEnumerable Variables { get { + if (!IsStatic) { + yield return new Variable(debugger, + "this", + delegate { return ThisValue; }); + } foreach(Variable var in ArgumentVariables) { yield return var; }