void (@NotNull InlineWatch watch, int index, boolean navigateToWatchNode) { ThreadingAssertions.assertEventDispatchThread(); XDebugSession session = getSession(getTree()); ((InlineWatchesRootNode)myRootNode).addInlineWatchExpression(session != null ? session.getCurrentStackFrame() : null, watch, index, navigateToWatchNode); if (navigateToWatchNode && session != null) { XDebugSessionTab.showWatchesView((XDebugSessionImpl)session); } }