mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
show return value only in top frame
This commit is contained in:
@@ -195,7 +195,7 @@ public class JavaStackFrame extends XStackFrame {
|
||||
|
||||
// add last method return value if any
|
||||
final Pair<Method, Value> methodValuePair = debugProcess.getLastExecutedMethod();
|
||||
if (methodValuePair != null) {
|
||||
if (methodValuePair != null && myDescriptor.getUiIndex() == 0) {
|
||||
ValueDescriptorImpl returnValueDescriptor = myNodeManager.getMethodReturnValueDescriptor(myDescriptor, methodValuePair.getFirst(), methodValuePair.getSecond());
|
||||
children.add(JavaValue.create(returnValueDescriptor, evaluationContext, myNodeManager));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user