void (@NotNull ColoredTextContainer component) { StackFrameDescriptorImpl selectedDescriptor = null; DebuggerSession session = myDebugProcess.getSession(); if (session != null) { XDebugSession xSession = session.getXDebugSession(); if (xSession != null) { XStackFrame frame = xSession.getCurrentStackFrame(); if (frame instanceof JavaStackFrame) { selectedDescriptor = ((JavaStackFrame)frame).getDescriptor(); } } } JavaFramesListRenderer.customizePresentation(myDescriptor, component, selectedDescriptor); }