예제 #1
0
 public <P extends XBreakpointProperties> void toggleLineBreakpoint(
     @NotNull Project project,
     @NotNull XLineBreakpointType<P> type,
     @NotNull VirtualFile file,
     int line) {
   toggleLineBreakpoint(project, type, file, line, false);
 }
예제 #2
0
 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;
 }
예제 #3
0
 public void toggleLineBreakpoint(@NotNull Project project, @NotNull VirtualFile file, int line) {
   toggleLineBreakpoint(project, file, line, false);
 }