List<XStackFrame> (StackFrameDescriptorImpl descriptor) { XStackFrame topFrame = ContainerUtil.getFirstItem(myTopFrames); if (descriptor.getUiIndex() == 1 && topFrame instanceof JavaStackFrame) { Method method = descriptor.getMethod(); if (method != null) { ((JavaStackFrame)topFrame).getDescriptor().putUserData(BreakpointIntentionAction.CALLER_KEY, DebuggerUtilsEx.methodKey(method)); } } List<XStackFrame> customFrames = myDebugProcess.getPositionManager().createStackFrames(descriptor); if (!customFrames.isEmpty()) { return customFrames; } return Collections.singletonList(new JavaStackFrame(descriptor, true)); }