Examples of DebugEvent


Examples of org.eclipse.debug.core.DebugEvent

    this.sourceWrapSupport = sourceWrapSupport;
    this.presetSyncDirection = presetSyncDirection;
  }

  public void fireTargetCreated() {
    fireDebugEvent(new DebugEvent(this, DebugEvent.CREATE));
  }
View Full Code Here

Examples of org.eclipse.debug.core.DebugEvent

    throw new DebugException(new Status(IStatus.ERROR, ChromiumDebugPlugin.PLUGIN_ID,
        "Process hasn't been terminated yet"))//$NON-NLS-1$
  }

  private void fireCreationEvent() {
    fireEvent(new DebugEvent(this, DebugEvent.CREATE));
  }
View Full Code Here

Examples of org.eclipse.debug.core.DebugEvent

    }
  }

  private void fireTerminateEvent() {
    outputMonitor.flush();
    fireEvent(new DebugEvent(this, DebugEvent.TERMINATE));
  }
View Full Code Here

Examples of org.eclipse.debug.core.DebugEvent

    outputMonitor.flush();
    fireEvent(new DebugEvent(this, DebugEvent.TERMINATE));
  }

  private void fireChangeEvent() {
    fireEvent(new DebugEvent(this, DebugEvent.CHANGE));
  }
View Full Code Here

Examples of org.eclipse.debug.core.DebugEvent

    return getJavascriptEmbedder().getJavascriptVm();
  }

  void fireBecameConnectedEvents() {
    setDisconnected(false);
    DebugTargetImpl.fireDebugEvent(new DebugEvent(debugTargetImpl, DebugEvent.CHANGE));
    fireEventForThread(DebugEvent.CREATE, DebugEvent.UNSPECIFIED);
  }
View Full Code Here

Examples of org.eclipse.debug.core.DebugEvent

    fireEventForThread(DebugEvent.CREATE, DebugEvent.UNSPECIFIED);
  }

  void fireResumeEvent(int detail) {
    fireEventForThread(DebugEvent.RESUME, detail);
    DebugTargetImpl.fireDebugEvent(new DebugEvent(debugTargetImpl, DebugEvent.RESUME, detail));
  }
View Full Code Here

Examples of org.eclipse.debug.core.DebugEvent

  private void fireEventForThread(int kind, int detail) {
    try {
      IThread[] threads = debugTargetState.getThreads();
      if (threads.length > 0) {
        DebugTargetImpl.fireDebugEvent(new DebugEvent(threads[0], kind, detail));
      }
    } catch (DebugException e) {
      // Actually, this is not thrown in our getThreads()
      return;
    }
View Full Code Here

Examples of org.eclipse.debug.core.DebugEvent

    // TODO(peter.rybin): from Alexander Pavlov: I think you need to fire a terminate event after
    // this line, for consolePseudoProcess if one is not null.

    // Do not report on threads -- the children are gone when terminated.
    DebugTargetImpl.fireDebugEvent(
        new DebugEvent(debugTargetImpl, DebugEvent.TERMINATE, DebugEvent.UNSPECIFIED));
    DebugTargetImpl.fireDebugEvent(
        new DebugEvent(debugTargetImpl.getLaunch(), DebugEvent.TERMINATE, DebugEvent.UNSPECIFIED));
  }
View Full Code Here

Examples of org.eclipse.debug.core.DebugEvent

        new DebugEvent(debugTargetImpl.getLaunch(), DebugEvent.TERMINATE, DebugEvent.UNSPECIFIED));
  }

  void fireSuspendEvent(int detail) {
    fireEventForThread(DebugEvent.SUSPEND, detail);
    DebugTargetImpl.fireDebugEvent(new DebugEvent(debugTargetImpl, DebugEvent.SUSPEND, detail));
  }
View Full Code Here

Examples of org.eclipse.debug.core.DebugEvent

    private int numberOfEnqueued;

    public synchronized void busyStatusChanged(String currentRequest, int numberOfEnqueued) {
      this.currentRequest = currentRequest;
      this.numberOfEnqueued = numberOfEnqueued;
      DebugTargetImpl.fireDebugEvent(new DebugEvent(debugTargetImpl, DebugEvent.CHANGE));
    }
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.