- All Implemented Interfaces:
Clients may instantiate this class.
- This class is not intended to be subclassed by clients.
Method SummaryModifier and TypeMethodDescription
(boolean enabled)Notifies the listener that the breakpoint manager's enablement has changed.
cancel()Cancels the run to line operation.
voidNotifies this listener of the given debug events.
voidExecutes this runnable.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
RunToLineHandlerConstructs a handler to perform a run to line operation.
target- the debug target in which the operation is to be performed
suspendResume- the element to be resumed to begin the operation
breakpoint- the run to line breakpoint
handleDebugEventspublic void handleDebugEvents
(DebugEvent events)Description copied from interface:
IDebugEventSetListenerNotifies this listener of the given debug events. All of the events in the given event collection occurred at the same location the program be run or debugged.
breakpointManagerEnablementChangedpublic void breakpointManagerEnablementChanged
(boolean enabled)Description copied from interface:
IBreakpointManagerListenerNotifies the listener that the breakpoint manager's enablement has changed.
cancelpublic void cancel()Cancels the run to line operation.
runDescription copied from interface:
ICoreRunnableExecutes this runnable.
The provided monitor can be used to report progress and respond to cancellation. If the progress monitor has been canceled, the runnable should finish its execution at the earliest convenience and throw an
CoreExceptionwith a status of severity
IStatus.CANCELhas the same effect as an
- Specified by:
- Specified by:
monitor- a progress monitor, or
nullif progress reporting and cancellation are not desired. The monitor is only valid for the duration of the invocation of this method. Callers may call
IProgressMonitor.done()after this method returns or throws an exception, but this is not strictly required.
CoreException- if this operation fails