Package org.eclipse.debug.core.model

Examples of org.eclipse.debug.core.model.IDebugTarget


            MVELStackFrame frame = (MVELStackFrame) object;

            //int lineNumber = frame.getBreakpointLineNumber();
            String mvelName = frame.getMVELName();

            IDebugTarget target = frame.getDebugTarget();
            if ( target instanceof DroolsDebugTarget ) {
                DroolsDebugTarget droolsTarget = (DroolsDebugTarget) target;
                Object bpoint = droolsTarget.getDroolsBreakpoint( mvelName );
                return new Object[]{bpoint};
            }
View Full Code Here


  }

  private Runnable currentRunnable;

  public static ConnectedTargetData getConnectionTargetData(Object element) {
    IDebugTarget debugTarget;
    if (element instanceof ILaunch) {
      ILaunch launch = (ILaunch) element;
      debugTarget = launch.getDebugTarget();
    } else if (element instanceof IDebugElement) {
      IDebugElement debugElement = (IDebugElement) element;
View Full Code Here

      String jmxUrl = configuration.getAttribute(ICamelDebugConstants.ATTR_JMX_URI_ID, ICamelDebugConstants.DEFAULT_JMX_URI);
      String jmxUser = configuration.getAttribute(ICamelDebugConstants.ATTR_JMX_USER_ID, "");
      String jmxPass = getPassword(configuration);
         
      IProcess p = launch.getProcesses()[0];
      IDebugTarget target = new CamelDebugTarget(launch, p, jmxUrl, jmxUser, jmxPass);
      launch.addDebugTarget(target);
    }
  }
View Full Code Here

                    return super.showPossibleCompletions();
                };
            };
            contentAssist.setInformationControlCreator(PyContentAssistant.createInformationControlCreator(viewer));
            ILaunch launch = process.getLaunch();
            IDebugTarget debugTarget = launch.getDebugTarget();
            IInterpreterInfo projectInterpreter = null;
            if (debugTarget instanceof PyDebugTarget) {
                PyDebugTarget pyDebugTarget = (PyDebugTarget) debugTarget;
                PythonNature nature = PythonNature.getPythonNature(pyDebugTarget.project);
                if (nature != null) {
View Full Code Here

        } else if (object instanceof ILaunch) {
            context = ((ILaunch) object).getDebugTarget();
        }

        if (context != null) {
            IDebugTarget debugTarget = context.getDebugTarget();
            if (debugTarget == null || debugTarget.isTerminated()) {
                return null;
            }
            String act = null;
            ITextSelection textSelection = (ITextSelection) selection;
            int mouseOffset = ps.getAbsoluteCursorOffset();
View Full Code Here

          }
        }
      } catch (CoreException e1) {
      }
      if (project != null) {
        IDebugTarget debugTarget = (IDebugTarget) stackFrame
            .getDebugTarget();
        try {
          ProjectDescription desc = ((Project) project)
              .internalGetDescription();
          if (desc != null) {
View Full Code Here

  /**
   * Get active debug target
   */
  public static IDebugTarget getActiveDebugTarget() {
    IDebugTarget debugTarget = null;
    IAdaptable adaptable = DebugUITools.getDebugContext();
    if (adaptable != null) {
      IDebugElement element = (IDebugElement) adaptable
          .getAdapter(IDebugElement.class);
      if (element != null) {
View Full Code Here

  /**
   * Get active remote debugger
   */
  public static IRemoteDebugger getActiveRemoteDebugger() {
    IDebugTarget debugTarget = getActiveDebugTarget();
    if (debugTarget != null && debugTarget instanceof PHPDebugTarget) {
      PHPDebugTarget phpDebugTarget = (PHPDebugTarget) debugTarget;
      return phpDebugTarget.getRemoteDebugger();
    }
    return null;
View Full Code Here

   */
  public void updateStatus(ILaunch[] launches, boolean added) {
    boolean hasActiveLaunch = false;
    for (int i = 0; i < launches.length; i++) {
      ILaunch launch = launches[i];
      IDebugTarget target = launch.getDebugTarget();
      if (target instanceof IDBGpDebugTarget
          && ((IDBGpDebugTarget) target).isWebLaunch()) {
        // this is a web launch
        webLaunchActive = added;
      }
View Full Code Here

                    .handleStatus(fgNeedStackFrame, value);
            if (stackFrame != null) {
                return stackFrame;
            }
        }
        IDebugTarget target = value.getDebugTarget();
        IJavaDebugTarget javaTarget = (IJavaDebugTarget) target
                .getAdapter(IJavaDebugTarget.class);
        if (javaTarget != null) {
            IThread[] threads = javaTarget.getThreads();
            for (int i = 0; i < threads.length; i++) {
                IThread thread = threads[i];
View Full Code Here

TOP

Related Classes of org.eclipse.debug.core.model.IDebugTarget

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.