public interface IStep
Implementations should honor step filter settings in their
associated debug target, as defined by IStepFilters
.
Clients may implement this interface.
IStepFilters
Modifier and Type | Method and Description |
---|---|
boolean |
canStepInto()
Returns whether this element can currently perform a step into.
|
boolean |
canStepOver()
Returns whether this element can currently perform a step over.
|
boolean |
canStepReturn()
Returns whether this element can currently perform a step return.
|
boolean |
isStepping()
Returns whether this element is currently stepping.
|
void |
stepInto()
Steps into the current statement, generating
RESUME
and SUSPEND events for the associated thread. |
void |
stepOver()
Steps over the current statement, generating
RESUME
and SUSPEND events for the associated thread. |
void |
stepReturn()
Steps to the next return statement in the current scope,
generating
RESUME and SUSPEND events for
the associated thread. |
boolean canStepInto()
boolean canStepOver()
boolean canStepReturn()
boolean isStepping()
For example, a thread is considered to be stepping
after the stepOver
call until the step over is completed,
a breakpoint is reached, an exception is thrown, or the thread or debug target is
terminated.
void stepInto() throws DebugException
RESUME
and SUSPEND
events for the associated thread. Can only be called
when the associated thread is suspended. Implementations must implement
stepping as non-blocking.DebugException
- on failure. Reasons include:void stepOver() throws DebugException
RESUME
and SUSPEND
events for the associated thread. Can only be called
when the associated thread is suspended. Implementations must implement
stepping as non-blocking.DebugException
- on failure. Reasons include:void stepReturn() throws DebugException
RESUME
and SUSPEND
events for
the associated thread. Can only be called when the associated thread is suspended.
Implementations must implement stepping as non-blocking.DebugException
- on failure. Reasons include:
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.