|
Sun SPOT API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.squawk.Debugger.SingleStep
public static final class Debugger.SingleStep
A SingleStep instance represents the stepping state of a thread
that is currently performing a single step.
| Field Summary | |
|---|---|
static int |
DEFERRED
The previously completed step was to a location in a class that excluded from the relevent StepEvent. |
static int |
HIT
A step has been completed and the thread is waiting for the debugger to take some action as a result. |
static int |
REQUESTED
The thread has been put into single stepping mode and has yet to complete a step. |
| Constructor Summary | |
|---|---|
Debugger.SingleStep(Offset startFO,
Offset startBCI,
int targetBCI,
int dupBCI,
int afterDupBCI,
int size,
int depth)
Creates a SingleStep in the REQUESTED state. |
|
| Method Summary | |
|---|---|
int |
getState()
Gets the stepping state |
String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int REQUESTED
public static final int HIT
public static final int DEFERRED
| Constructor Detail |
|---|
public Debugger.SingleStep(Offset startFO,
Offset startBCI,
int targetBCI,
int dupBCI,
int afterDupBCI,
int size,
int depth)
REQUESTED state.
startFO - the offset (in bytes) from the top of the stack of the frame in which the step startedstartBCI - the bytecode index of the instruction at which the step startedtargetBCI - the bytecode index of the next instruction after startBCI that starts a new source linedupBCI - the bytecode index of another instruction apart from startBCI that returns to the same line as startBCIafterDupBCI - the bytecode index of the first instruction after dupBCI that is on a new source linesize - the granularity of the step (1 = source line, 0 = minimum possible step)depth - the call stack depth of the step (0 = step into, 1 = step over, 2 = step out)| Method Detail |
|---|
public final int getState()
public String toString()
ObjecttoString method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString in class Object
|
Sun SPOT API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||