Browse Source

Fixed SD2-933: No debugger data tip when variable prefixed with "this"

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1543 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
David Srbecký 19 years ago
parent
commit
82ef75f35e
  1. 5
      src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Threads/Function.cs

5
src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Threads/Function.cs

@ -380,6 +380,11 @@ namespace Debugger
public IEnumerable<Variable> Variables { public IEnumerable<Variable> Variables {
get { get {
if (!IsStatic) {
yield return new Variable(debugger,
"this",
delegate { return ThisValue; });
}
foreach(Variable var in ArgumentVariables) { foreach(Variable var in ArgumentVariables) {
yield return var; yield return var;
} }

Loading…
Cancel
Save