From 84fff354435d3e14b72bbee95a2f4e0a009289db Mon Sep 17 00:00:00 2001 From: Artem Bukhonov Date: Tue, 22 Nov 2016 19:22:33 +0300 Subject: [PATCH] debugger tests: added method to dump children of values (RIDER-IC-CR-4) --- .../com/intellij/xdebugger/XDebuggerTestUtil.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/platform/xdebugger-impl/testSrc/com/intellij/xdebugger/XDebuggerTestUtil.java b/platform/xdebugger-impl/testSrc/com/intellij/xdebugger/XDebuggerTestUtil.java index 9d133148b080..aed3fa7cefe8 100644 --- a/platform/xdebugger-impl/testSrc/com/intellij/xdebugger/XDebuggerTestUtil.java +++ b/platform/xdebugger-impl/testSrc/com/intellij/xdebugger/XDebuggerTestUtil.java @@ -161,9 +161,17 @@ public class XDebuggerTestUtil { return Pair.create(all, container.frameToSelect); } + /** + * @deprecated use {@link XDebuggerTestUtil#collectChildren(XValueContainer)} + */ + @Deprecated public static List collectVariables(XStackFrame frame) throws InterruptedException { + return collectChildren(frame); + } + + public static List collectChildren(XValueContainer value) throws InterruptedException { XTestCompositeNode container = new XTestCompositeNode(); - frame.computeChildren(container); + value.computeChildren(container); return container.waitFor(TIMEOUT).first; }