String (final StackFrameProxyImpl frame) { if (frame == null) { return null; } try { final Location location = frame.location(); final Method method = DebuggerUtilsEx.getMethod(location); if (method == null) { return null; } return location.declaringType().signature() + "#" + method.name() + method.signature(); } catch (EvaluateException ignored) { } catch (InternalException ie) { if (ie.errorCode() != JvmtiError.INVALID_METHODID) { throw ie; } } return null; }