Search in sources :

Example 6 with ErlangLineBreakpoint

use of org.erlide.backend.debug.ErlangLineBreakpoint in project erlide_eclipse by erlang.

the class ErlangDebugTarget method breakpointRemoved.

@Override
public void breakpointRemoved(final IBreakpoint breakpoint, final IMarkerDelta delta) {
    try {
        ErlLogger.debug("breakpointRemoved " + breakpoint.getMarker().toString() + breakpoint.getMarker().getAttribute(IMarker.LINE_NUMBER));
    } catch (final CoreException e) {
    }
    if (supportsBreakpoint(breakpoint)) {
        final ErlangLineBreakpoint erlangLineBreakpoint = (ErlangLineBreakpoint) breakpoint;
        erlangLineBreakpoint.remove(this);
    }
}
Also used : ErlangLineBreakpoint(org.erlide.backend.debug.ErlangLineBreakpoint) CoreException(org.eclipse.core.runtime.CoreException)

Aggregations

ErlangLineBreakpoint (org.erlide.backend.debug.ErlangLineBreakpoint)6 CoreException (org.eclipse.core.runtime.CoreException)4 IBreakpoint (org.eclipse.debug.core.model.IBreakpoint)4 IBreakpointManager (org.eclipse.debug.core.IBreakpointManager)3 IErlangBreakpoint (org.erlide.backend.debug.IErlangBreakpoint)2 IMarker (org.eclipse.core.resources.IMarker)1 IResource (org.eclipse.core.resources.IResource)1 DebugException (org.eclipse.debug.core.DebugException)1 ILineBreakpoint (org.eclipse.debug.core.model.ILineBreakpoint)1 IStackFrame (org.eclipse.debug.core.model.IStackFrame)1 BadLocationException (org.eclipse.jface.text.BadLocationException)1 ITextSelection (org.eclipse.jface.text.ITextSelection)1 ITextEditor (org.eclipse.ui.texteditor.ITextEditor)1 ErlangDebugTarget (org.erlide.backend.debug.model.ErlangDebugTarget)1