Skip to content

Commit

Permalink
set some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
eusebiu committed Mar 4, 2011
1 parent af7b862 commit 5e07941
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Debugger/ILSpy.Debugger/Models/TreeModel/ExpressionNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ void EvaluateExpression()
targetName = Name.Substring(0, index);
}

// get local variable index
List<ILVariable> list;
if (ILAstBuilder.MemberLocalVariables.TryGetValue(token, out list)) {
var variable = list.Find(v => v.Name == targetName);
Expand All @@ -171,6 +172,7 @@ void EvaluateExpression()
}
}

// evaluate expression
val = expression.Evaluate(WindowsDebugger.DebuggedProcess);
} catch (GetValueException e) {
error = e;
Expand Down

0 comments on commit 5e07941

Please sign in to comment.