fixed NPE in run to cursor breakpoint

This commit is contained in:
Egor.Ushakov
2015-06-11 20:45:24 +03:00
parent 0908de1bde
commit d880f49628
@@ -28,6 +28,7 @@ import com.sun.jdi.Location;
import com.sun.jdi.ReferenceType;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.java.debugger.breakpoints.properties.JavaBreakpointProperties;
/**
* @author Eugene Zhuravlev
@@ -114,6 +115,11 @@ public class RunToCursorBreakpoint extends LineBreakpoint {
return true;
}
@Override
protected JavaBreakpointProperties getProperties() {
return null;
}
@Override
protected boolean isMuted(@NotNull final DebugProcessImpl debugProcess) {
return false; // always enabled