public abstract class JPDAStep extends Object
Modifier and Type | Field and Description |
---|---|
protected JPDADebugger |
debugger
Associated JPDA debugger
|
static String |
PROP_STATE_EXEC
Property fired when the step is executed
|
static int |
STEP_INTO
Step into any newly pushed frames
|
static int |
STEP_LINE
Step to the next location on a different line
|
static int |
STEP_MIN
Step to the next available location
|
static int |
STEP_OPERATION
Step to the next available operation
|
static int |
STEP_OUT
Step out of the current frame
|
static int |
STEP_OVER
Step over any newly pushed frames
|
Constructor and Description |
---|
JPDAStep(JPDADebugger debugger,
int size,
int depth)
Constructs a JPDAStep for given
JPDADebugger ,
size JPDAStep.STEP_LINE , JPDAStep.STEP_MIN
and depth JPDAStep.STEP_OUT , JPDAStep.STEP_INTO . |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
Adds property change listener.
|
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener l)
Adds property change listener.
|
abstract void |
addStep(JPDAThread tr)
Adds the step request to the associated
JPDADebugger . |
protected void |
firePropertyChange(String name,
Object o,
Object n)
Fires property change.
|
int |
getDepth()
Returns depth of the step.
|
boolean |
getHidden()
Returns hidden property of the step.
|
int |
getSize()
Returns size of the step.
|
void |
removePropertyChangeListener(PropertyChangeListener l)
Removes property change listener.
|
void |
removePropertyChangeListener(String propertyName,
PropertyChangeListener l)
Removes property change listener.
|
void |
setDepth(int depth)
Sets depth of the step.
|
void |
setHidden(boolean hidden)
Sets the hidden property.
|
void |
setSize(int size)
Sets size of the step.
|
protected JPDADebugger debugger
public static final int STEP_INTO
public static final int STEP_OVER
public static final int STEP_OUT
public static final int STEP_LINE
public static final int STEP_OPERATION
public static final int STEP_MIN
public static final String PROP_STATE_EXEC
public JPDAStep(JPDADebugger debugger, int size, int depth)
JPDADebugger
,
size JPDAStep.STEP_LINE
, JPDAStep.STEP_MIN
and depth JPDAStep.STEP_OUT
, JPDAStep.STEP_INTO
.debugger
- an associated JPDADebugersize
- step sizedepth
- step depthpublic void setHidden(boolean hidden)
public boolean getHidden()
public void setSize(int size)
size
- step sizepublic int getSize()
public void setDepth(int depth)
depth
- step depthpublic int getDepth()
public abstract void addStep(JPDAThread tr)
JPDADebugger
.
Method is not synchronized.tr
- associated threadpublic void addPropertyChangeListener(PropertyChangeListener l)
l
- new listener.public void removePropertyChangeListener(PropertyChangeListener l)
l
- removed listener.public void addPropertyChangeListener(String propertyName, PropertyChangeListener l)
l
- new listener.public void removePropertyChangeListener(String propertyName, PropertyChangeListener l)
l
- removed listener.