Examples of DebugPlugin


Examples of org.eclipse.debug.core.DebugPlugin

    public ErlangDebugOptionsManager() {
    }

    public void start() {
        // lazy initialization will occur on the first launch
        final DebugPlugin debugPlugin = DebugPlugin.getDefault();
        debugPlugin.getLaunchManager().addLaunchListener(this);
        debugPlugin.getBreakpointManager().addBreakpointListener(this);
        // EvaluationContextManager.startup();
    }
View Full Code Here

Examples of org.eclipse.debug.core.DebugPlugin

        debugPlugin.getBreakpointManager().addBreakpointListener(this);
        // EvaluationContextManager.startup();
    }

    public void shutdown() {
        final DebugPlugin debugPlugin = DebugPlugin.getDefault();
        debugPlugin.getLaunchManager().removeLaunchListener(this);
        debugPlugin.getBreakpointManager().removeBreakpointListener(this);
    }
View Full Code Here

Examples of org.eclipse.debug.core.DebugPlugin

        if (backend != null) {
            if (backend.getOtpRpc() != null) {
                backend.getOtpRpc().send("dbg_mon", new OtpErlangAtom("stop"));
            }
            final DebugPlugin dbgPlugin = DebugPlugin.getDefault();
            if (dbgPlugin != null) {
                dbgPlugin.getBreakpointManager().removeBreakpointListener(this);
            }
            if (debuggerDaemon != null) {
                debuggerDaemon.stop();
            }
            backend.dispose();
View Full Code Here

Examples of org.eclipse.debug.core.DebugPlugin

   * Fires a debug event
   *
   * @param event to be fired
   */
  public static void fireDebugEvent(DebugEvent event) {
    DebugPlugin debugPlugin = DebugPlugin.getDefault();
    if (debugPlugin != null) {
      debugPlugin.fireDebugEventSet(new DebugEvent[] { event });
    }
  }
View Full Code Here

Examples of org.eclipse.debug.core.DebugPlugin

    return DataHandler.getStorer(LaunchEvent.class);
  }

  @Override
  protected void doDisable() {
    DebugPlugin debug = DebugPlugin.getDefault();
    debug.removeDebugEventListener(listener);
  }
View Full Code Here

Examples of org.eclipse.debug.core.DebugPlugin

    debug.removeDebugEventListener(listener);
  }

  @Override
  protected void doEnable() {
    DebugPlugin debug = DebugPlugin.getDefault();
    debug.addDebugEventListener(listener);
  }
View Full Code Here

Examples of org.eclipse.debug.core.DebugPlugin

    fireHandlerChanged(new HandlerEvent(DumpExecutionDataHandler.this, true,
        false));
  }

  public DumpExecutionDataHandler() {
    final DebugPlugin debug = DebugPlugin.getDefault();
    debug.getLaunchManager().addLaunchListener(launchListener);
    debug.addDebugEventListener(debugListener);
  }
View Full Code Here

Examples of org.eclipse.debug.core.DebugPlugin

    return !CoverageTools.getRunningCoverageLaunches().isEmpty();
  }

  @Override
  public void dispose() {
    final DebugPlugin debug = DebugPlugin.getDefault();
    debug.getLaunchManager().removeLaunchListener(launchListener);
    DebugPlugin.getDefault().addDebugEventListener(debugListener);
  }
View Full Code Here

Examples of org.eclipse.debug.core.DebugPlugin

 
  public ILaunchConfiguration createConfiguration() {
    try {
      ILaunchConfiguration _xblockexpression = null;
      {
        DebugPlugin _default = DebugPlugin.getDefault();
        final ILaunchManager launchManager = _default.getLaunchManager();
        final ILaunchConfigurationType configType = launchManager.getLaunchConfigurationType("org.xtext.builddsl.ui.BuildLaunchConfigurationType");
        String _name = this.getName();
        String _generateUniqueLaunchConfigurationNameFrom = launchManager.generateUniqueLaunchConfigurationNameFrom(_name);
        final ILaunchConfigurationWorkingCopy wc = configType.newInstance(null, _generateUniqueLaunchConfigurationNameFrom);
        String _project = this.getProject();
View Full Code Here

Examples of org.eclipse.debug.core.DebugPlugin

        boolean _isNullOrEmpty_2 = StringExtensions.isNullOrEmpty(_project);
        if (_isNullOrEmpty_2) {
          MessageDialog.openError(null, "Launch Error", "Could not determine the project that should be executed.");
        } else {
          try {
            DebugPlugin _default = DebugPlugin.getDefault();
            ILaunchManager _launchManager = _default.getLaunchManager();
            final ILaunchConfiguration[] configs = _launchManager.getLaunchConfigurations();
            ILaunchConfiguration _elvis = null;
            final Function1<ILaunchConfiguration, Boolean> _function = new Function1<ILaunchConfiguration, Boolean>() {
              public Boolean apply(final ILaunchConfiguration it) {
                return Boolean.valueOf(info.configEquals(it));
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.