use of com.intellij.debugger.ui.impl.watch.LocalVariableDescriptorImpl in project intellij-community by JetBrains.
the class DescriptorTestCase method localVar.
protected LocalVariableDescriptorImpl localVar(DebuggerTree frameTree, EvaluationContextImpl evaluationContext, String name) {
try {
StackFrameProxy frameProxy = evaluationContext.getFrameProxy();
assert frameProxy != null;
LocalVariableDescriptorImpl local = frameTree.getNodeFactory().getLocalVariableDescriptor(null, frameProxy.visibleVariableByName(name));
local.setContext(evaluationContext);
return local;
} catch (EvaluateException e) {
error(e);
return null;
}
}
Aggregations