diff --git a/java/debugger/impl/src/com/intellij/debugger/jdi/StackFrameProxyImpl.java b/java/debugger/impl/src/com/intellij/debugger/jdi/StackFrameProxyImpl.java index b5a860afacc5..5fed47929af3 100644 --- a/java/debugger/impl/src/com/intellij/debugger/jdi/StackFrameProxyImpl.java +++ b/java/debugger/impl/src/com/intellij/debugger/jdi/StackFrameProxyImpl.java @@ -159,6 +159,7 @@ public class StackFrameProxyImpl extends JdiProxy implements StackFrameProxy { return (VirtualMachineProxyImpl) myTimer; } + @Nullable @Override public Location location() throws EvaluateException { InvalidStackFrameException error = null; diff --git a/java/debugger/openapi/src/com/intellij/debugger/engine/jdi/StackFrameProxy.java b/java/debugger/openapi/src/com/intellij/debugger/engine/jdi/StackFrameProxy.java index 7e0b6ee007f1..511b1af39daf 100644 --- a/java/debugger/openapi/src/com/intellij/debugger/engine/jdi/StackFrameProxy.java +++ b/java/debugger/openapi/src/com/intellij/debugger/engine/jdi/StackFrameProxy.java @@ -19,6 +19,7 @@ import com.intellij.debugger.engine.evaluation.EvaluateException; import com.sun.jdi.ClassLoaderReference; import com.sun.jdi.Location; import com.sun.jdi.StackFrame; +import org.jetbrains.annotations.Nullable; public interface StackFrameProxy extends ObjectReferenceProxy{ StackFrame getStackFrame() throws EvaluateException; @@ -27,6 +28,7 @@ public interface StackFrameProxy extends ObjectReferenceProxy{ VirtualMachineProxy getVirtualMachine(); + @Nullable Location location() throws EvaluateException; ClassLoaderReference getClassLoader() throws EvaluateException;