|
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.Event
public static class Debugger.Event
An Event instance encapsulates the details of an event that occurred in the VM that an attached JPDA debugger client may want to be notified about.
| Field Summary | |
|---|---|
static int |
BREAKPOINT
|
static int |
CLASS_LOAD
|
static int |
CLASS_PREPARE
|
static int |
CLASS_UNLOAD
|
static int |
EXCEPTION
|
static int |
EXCEPTION_CATCH
|
static int |
FIELD_ACCESS
|
static int |
FIELD_MODIFICATION
|
static int |
FRAME_POP
|
int |
kind
The JDWP event constant describing the kind of event. |
static int |
METHOD_ENTRY
|
static int |
METHOD_EXIT
|
Object |
object
The object (if any) to which the event applies. |
static int |
SINGLE_STEP
|
static int |
THREAD_DEATH
|
static int |
THREAD_END
|
static int |
THREAD_START
|
static int |
USER_DEFINED
|
static int |
VM_DEATH
|
static int |
VM_DISCONNECTED
|
static int |
VM_INIT
|
static int |
VM_START
|
| Constructor Summary | |
|---|---|
Debugger.Event(int kind,
Object object)
|
|
| Method Summary | |
|---|---|
Thread |
getThread()
|
Object |
getThreadID()
|
void |
setThread(Thread thread,
Object threadID)
|
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 VM_DISCONNECTED
public static final int SINGLE_STEP
public static final int BREAKPOINT
public static final int FRAME_POP
public static final int EXCEPTION
public static final int USER_DEFINED
public static final int THREAD_START
public static final int THREAD_END
public static final int CLASS_PREPARE
public static final int CLASS_UNLOAD
public static final int CLASS_LOAD
public static final int FIELD_ACCESS
public static final int FIELD_MODIFICATION
public static final int EXCEPTION_CATCH
public static final int METHOD_ENTRY
public static final int METHOD_EXIT
public static final int VM_INIT
public static final int VM_DEATH
public static final int VM_START
public static final int THREAD_DEATH
public final int kind
public final Object object
| Constructor Detail |
|---|
public Debugger.Event(int kind,
Object object)
| Method Detail |
|---|
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
public void setThread(Thread thread,
Object threadID)
public Object getThreadID()
public Thread getThread()
|
Sun SPOT API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||