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; }