public <P extends XBreakpointProperties> void toggleLineBreakpoint( @NotNull Project project, @NotNull XLineBreakpointType<P> type, @NotNull VirtualFile file, int line) { toggleLineBreakpoint(project, type, file, line, false); }
private boolean toggleAtLine(PsiFile psiFile, int lineNumber) { XDebuggerUtil debuggerUtil = XDebuggerUtil.getInstance(); if (debuggerUtil.canPutBreakpointAt(myProject, psiFile.getVirtualFile(), lineNumber)) { debuggerUtil.toggleLineBreakpoint(myProject, psiFile.getVirtualFile(), lineNumber); return true; } return false; }
public void toggleLineBreakpoint(@NotNull Project project, @NotNull VirtualFile file, int line) { toggleLineBreakpoint(project, file, line, false); }