Package org.eclipse.jdt.internal.debug.core.breakpoints

Examples of org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint


    if (!isAvailable()) {
      return;
    }
    if (supportsBreakpoint(breakpoint)) {
      try {
        JavaBreakpoint javaBreakpoint = (JavaBreakpoint) breakpoint;
        if (!getBreakpoints().contains(breakpoint)) {
          if (!javaBreakpoint.shouldSkipBreakpoint()) {
            // If the breakpoint should be skipped, don't add the
            // breakpoint
            // request to the VM. Just add the breakpoint to the
            // collection so
            // we have it if the manager is later enabled.
            javaBreakpoint.addToTarget(this);
          }
          getBreakpoints().add(breakpoint);
        }
      } catch (CoreException e) {
        logError(e);
View Full Code Here


   */
  protected void removeAllBreakpoints() {
    Iterator<IBreakpoint> breakpoints = ((ArrayList<IBreakpoint>) ((ArrayList<IBreakpoint>) getBreakpoints())
        .clone()).iterator();
    while (breakpoints.hasNext()) {
      JavaBreakpoint breakpoint = (JavaBreakpoint) breakpoints.next();
      try {
        breakpoint.removeFromTarget(this);
      } catch (CoreException e) {
        logError(e);
      }
    }
    getBreakpoints().clear();
View Full Code Here

   */
  protected void reinstallAllBreakpoints() {
    Iterator<IBreakpoint> breakpoints = ((ArrayList<IBreakpoint>) ((ArrayList<IBreakpoint>) getBreakpoints())
        .clone()).iterator();
    while (breakpoints.hasNext()) {
      JavaBreakpoint breakpoint = (JavaBreakpoint) breakpoints.next();
      try {
        breakpoint.addToTarget(this);
      } catch (CoreException e) {
        logError(e);
      }
    }
  }
View Full Code Here

      return;
    }
    Iterator<IBreakpoint> breakpoints = ((ArrayList<IBreakpoint>) ((ArrayList<IBreakpoint>) getBreakpoints())
        .clone()).iterator();
    while (breakpoints.hasNext()) {
      JavaBreakpoint breakpoint = (JavaBreakpoint) breakpoints.next();
      try {
        if (enabled) {
          breakpoint.addToTarget(this);
        } else if (breakpoint.shouldSkipBreakpoint()) {
          breakpoint.removeFromTarget(this);
        }
      } catch (CoreException e) {
        logError(e);
      }
    }
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint

Copyright © 2018 www.massapicom. 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.