mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed NPE in run to cursor breakpoint
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user