Examples of removeBreakpoint()


Examples of com.dci.intellij.dbn.database.DatabaseDebuggerInterface.removeBreakpoint()

                try {
                    Connection debugConnection = debugProcess.getDebugConnection();
                    if (temporary) {
                        debuggerInterface.disableBreakpoint(breakpointId, debugConnection);
                    } else {
                        debuggerInterface.removeBreakpoint(breakpointId, debugConnection);
                        breakpoint.putUserData(BREAKPOINT_ID_KEY, null);
                    }
                } catch (SQLException e) {
                    e.printStackTrace();
                }
View Full Code Here

Examples of com.intellij.xdebugger.breakpoints.XBreakpointManager.removeBreakpoint()

    if (!toRemove.isEmpty()) {
      ApplicationManager.getApplication().runWriteAction(new Runnable() {
        public void run() {
          for (XBreakpoint<?> breakpoint : toRemove) {
            breakpointManager.removeBreakpoint(breakpoint);
          }
        }
      });
    }
  }
View Full Code Here

Examples of org.contikios.cooja.WatchpointMote.removeBreakpoint()

      logger.warn("Error: Bad breakpoint info, cannot remove breakpoint");
      return;
    }
    for (Watchpoint w: watchpointMote.getBreakpoints()) {
      if (file.equals(w.getCodeFile()) && line.equals(w.getLineNumber()) && address.equals(w.getExecutableAddress())) {
        watchpointMote.removeBreakpoint(w);
      }
    }

  }
}
View Full Code Here

Examples of org.eclipse.debug.core.IBreakpointManager.removeBreakpoint()

          IBreakpoint[] breakpoints = getBreakpoints(resource, document, model, lineNumber);
          if (breakpoints.length > 0) {
            IBreakpointManager breakpointManager = DebugPlugin.getDefault().getBreakpointManager();
            for (int i = 0; i < breakpoints.length; i++) {
              breakpoints[i].getMarker().delete();
              breakpointManager.removeBreakpoint(breakpoints[i], true);
            }
          }
          else {
            toggler.createBreakpoints(lineNumber + 1);
          }
View Full Code Here

Examples of org.eclipse.debug.core.IBreakpointManager.removeBreakpoint()

  protected void removeBreakpoints(int lineNumber) {
    IBreakpointManager breakpointManager = DebugPlugin.getDefault().getBreakpointManager();
    IBreakpoint[] breakpoints = getBreakpoints(getMarkers());
    for (int i = 0; i < breakpoints.length; i++) {
      try {
        breakpointManager.removeBreakpoint(breakpoints[i], true);
      }
      catch (CoreException e) {
        Logger.logException(e);
      }
    }
View Full Code Here

Examples of org.eclipse.debug.core.IBreakpointManager.removeBreakpoint()

        IBreakpointManager breakpointManager = DebugPlugin.getDefault().getBreakpointManager();
        try {
            Iterator<IMarker> e = markers.iterator();
            while (e.hasNext()) {
                IBreakpoint breakpoint = breakpointManager.getBreakpoint(e.next());
                breakpointManager.removeBreakpoint(breakpoint, true);
            }
        } catch (CoreException e) {
            PydevDebugPlugin.log(IStatus.ERROR, "error removing markers", e);
        }
    }
View Full Code Here

Examples of org.eclipse.debug.core.IBreakpointManager.removeBreakpoint()

        if (fileName.equals(curFileName) || fileName.equals(projectRelPath)) {
          if (lineNum == null ||
              lineNum == -1 ||
              lineNum == ((ILineBreakpoint)breakpoint).getLineNumber())
          {
            breakpointMgr.removeBreakpoint(breakpoint, true);
          }
        }
      }else{
        breakpointMgr.removeBreakpoint(breakpoint, true);
      }
View Full Code Here

Examples of org.eclipse.debug.core.IBreakpointManager.removeBreakpoint()

          {
            breakpointMgr.removeBreakpoint(breakpoint, true);
          }
        }
      }else{
        breakpointMgr.removeBreakpoint(breakpoint, true);
      }
    }

    return Services.getMessage("debugging.breakpoint.removed");
  }
View Full Code Here

Examples of org.eclipse.debug.core.IBreakpointManager.removeBreakpoint()

      // breakpoint if the 'delete' option was supplied
      if (fileName != null && lineNum != null &&
          enabled.size() == 1 && commandLine.hasOption("d"))
      {
        action = "removed";
        breakpointMgr.removeBreakpoint(enabled.get(0), true);
      }else{
        for (IBreakpoint breakpoint : enabled){
          breakpoint.setEnabled(false);
        }
      }
View Full Code Here

Examples of org.eclipse.debug.core.IBreakpointManager.removeBreakpoint()

              if (newFile != null) {
                IMarker createdMarker = newFile
                    .createMarker(markerType);
                createdMarker.setAttributes(breakpoint
                    .getMarker().getAttributes());
                breakpointManager.removeBreakpoint(breakpoint,
                    true);
                breakpoint.setMarker(createdMarker);
                breakpointManager.addBreakpoint(breakpoint);
              } else {
                breakpointManager.removeBreakpoint(breakpoint,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.