Examples of ILineBreakpoint


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

                    .getBreakpointManager()
                    .getBreakpoints(ErlDebugConstants.ID_ERLANG_DEBUG_MODEL);
            for (final IBreakpoint breakpoint : breakpoints) {
                if (resource.equals(breakpoint.getMarker().getResource())) {
                    if (breakpoint instanceof ILineBreakpoint) {
                        final ILineBreakpoint lineBr = (ILineBreakpoint) breakpoint;
                        if (lineBr.getLineNumber() == lineNumber + 1) {
                            breakpoint.delete();
                            return;
                        }
                    }
                }
View Full Code Here

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

        createLabel(parent, "Module:");
        final String moduleName = getBreakpoint().getMarker().getResource().getName();
        createText(parent, SWT.READ_ONLY, moduleName).setBackground(
                parent.getBackground());
        // Line number
        final ILineBreakpoint breakpoint = (ILineBreakpoint) getBreakpoint();
        final StringBuffer lineNumber = new StringBuffer(4);
        try {
            final int lNumber = breakpoint.getLineNumber();
            if (lNumber > 0) {
                lineNumber.append(lNumber);
            }
        } catch (final CoreException ce) {
            ErlLogger.error(ce);
View Full Code Here

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

    if (selection instanceof ITextSelection) {
      ITextEditor textEditor = getTextEditor(part);
      ITextSelection textSelection = (ITextSelection) selection;
      int lineNumber = textSelection.getStartLine() + 1; // one based

      ILineBreakpoint breakpoint = BreakpointUtils.findLineBreakpoint(textEditor, lineNumber);
      if (breakpoint != null) {
        breakpoint.delete();
        return;
      }

      if (textEditor instanceof ScriptEditor) {
        ScriptEditor scriptEditor = (ScriptEditor) textEditor;
View Full Code Here

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

    if (selection instanceof ITextSelection) {
      ITextEditor textEditor = getTextEditor(part);
      ITextSelection textSelection = (ITextSelection) selection;
      int lineNumber = textSelection.getStartLine() + 1; // one based

      ILineBreakpoint breakpoint = BreakpointUtils.findLineBreakpoint(textEditor, lineNumber);
      if (breakpoint != null) {
        breakpoint.delete();
        return;
      }

      if (textEditor instanceof ScriptEditor) {
        ScriptEditor scriptEditor = (ScriptEditor) textEditor;
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.