Sun SPOT API
Green Release  


com.sun.squawk
Class Debugger.LocationEvent

java.lang.Object
  extended by com.sun.squawk.Debugger.Event
      extended by com.sun.squawk.Debugger.LocationEvent
Direct Known Subclasses:
Debugger.BreakpointEvent, Debugger.ExceptionEvent, Debugger.SingleStepEvent
Enclosing class:
Debugger

public abstract static class Debugger.LocationEvent
extends Debugger.Event

A LocationEvent includes extra detail about the location (method and instruction offset) at which an event occurred.


Field Summary
 VMThread.ExecutionPoint location
           
 
Fields inherited from class com.sun.squawk.Debugger.Event
BREAKPOINT, CLASS_LOAD, CLASS_PREPARE, CLASS_UNLOAD, EXCEPTION, EXCEPTION_CATCH, FIELD_ACCESS, FIELD_MODIFICATION, FRAME_POP, kind, METHOD_ENTRY, METHOD_EXIT, object, SINGLE_STEP, THREAD_DEATH, THREAD_END, THREAD_START, USER_DEFINED, VM_DEATH, VM_DISCONNECTED, VM_INIT, VM_START
 
Constructor Summary
Debugger.LocationEvent(int type, Object object, VMThread.ExecutionPoint location)
           
 
Method Summary
 String toString()
          Returns a string representation of the object.
 
Methods inherited from class com.sun.squawk.Debugger.Event
getThread, getThreadID, setThread
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

location

public final VMThread.ExecutionPoint location
Constructor Detail

Debugger.LocationEvent

public Debugger.LocationEvent(int type,
                              Object object,
                              VMThread.ExecutionPoint location)
Method Detail

toString

public String toString()
Description copied from class: Object
Returns a string representation of the object. In general, the toString 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())
 

Overrides:
toString in class Debugger.Event
Returns:
a string representation of the object.

Sun SPOT API
Green Release  


Copyright © 2006 Sun Microsystems, Inc. All Rights Reserved.