public abstract class DebuggerEventSource
extends java.lang.Object
DebuggerAdapter, DebuggerListener| Modifier and Type | Class and Description | 
|---|---|
static class  | 
DebuggerEventSource.StackFrame  | 
| Modifier and Type | Field and Description | 
|---|---|
static int | 
DEBUGGER_STATE_FINISHED_CONNECTIONLOST
The debugger state for finished because the connection was lost unexpectedly. 
 | 
static int | 
DEBUGGER_STATE_FINISHED_DETACH
The debugger state for finished because the user chose to detach. 
 | 
static int | 
DEBUGGER_STATE_FINISHED_PROGRAMEXIT
The debugger state for finished because the program exited. 
 | 
static int | 
DEBUGGER_STATE_FINISHED_TERMINATE
The debugger state for finished because the user chose to terminate. 
 | 
static int | 
DEBUGGER_STATE_RESUMING_CONTINUESTEP
The debugger state for resuming because the user chose to continue step. 
 | 
static int | 
DEBUGGER_STATE_RESUMING_RESUME
The debugger state for resuming because the user chose to resume. 
 | 
static int | 
DEBUGGER_STATE_RESUMING_RUNTOCURSOR
The debugger state for resuming because the user chose to run to cursor. 
 | 
static int | 
DEBUGGER_STATE_RESUMING_STEPINTO
The debugger state for resuming because the user chose to step into. 
 | 
static int | 
DEBUGGER_STATE_RESUMING_STEPINTOMETHOD
The debugger state for resuming because the user chose to step into method. 
 | 
static int | 
DEBUGGER_STATE_RESUMING_STEPOUT
The debugger state for resuming because the user chose to step out. 
 | 
static int | 
DEBUGGER_STATE_RESUMING_STEPOVER
The debugger state for resuming because the user chose to step over. 
 | 
static int | 
DEBUGGER_STATE_RESUMING_STEPTOENDOFMETHOD
The debugger state for resuming because the user chose to step to end of method. 
 | 
static int | 
DEBUGGER_STATE_STARTING
The debugger state for starting. 
 | 
static int | 
DEBUGGER_STATE_STOPPING_BREAKPOINT
The debugger state for stopping because a breakpoint has been hit. 
 | 
static int | 
DEBUGGER_STATE_STOPPING_FINISHEDSTEPPING
The debugger state for stopping because a stop command has completed. 
 | 
static int | 
DEBUGGER_STATE_STOPPING_PAUSED
The debugger state for stopping because the user chose to pause. 
 | 
static int | 
LANGUAGE_ANT
The language may be ANT 
 | 
static int | 
LANGUAGE_JAVA
The language may be Java 
 | 
static int | 
LANGUAGE_JAVASCRIPT
The language may be JAVASCRIPT 
 | 
static int | 
LANGUAGE_PLSQL
The language may be PLSQL 
 | 
static int | 
LANGUAGE_UNKNOWN
The language may be unknown 
 | 
static int | 
LANGUAGE_XSLT
The language may be XSLT 
 | 
| Constructor and Description | 
|---|
DebuggerEventSource()  | 
| Modifier and Type | Method and Description | 
|---|---|
Context | 
getContext()
Get the context of the debugging process that send this event 
 | 
abstract int | 
getLanguages()
Returns the languages that this debugger might be debugging. 
 | 
abstract DebuggerEventSource.StackFrame[] | 
getStackFrames()
Returns the stack frames for the current thread, when the debugger event type is  
DEBUGGER_STOPPING. | 
abstract int | 
getState()
Returns the state of the debugger. 
 | 
public static final int LANGUAGE_UNKNOWN
public static final int LANGUAGE_JAVA
public static final int LANGUAGE_PLSQL
public static final int LANGUAGE_XSLT
public static final int LANGUAGE_ANT
public static final int LANGUAGE_JAVASCRIPT
public static final int DEBUGGER_STATE_STARTING
public static final int DEBUGGER_STATE_STOPPING_BREAKPOINT
public static final int DEBUGGER_STATE_STOPPING_FINISHEDSTEPPING
public static final int DEBUGGER_STATE_STOPPING_PAUSED
public static final int DEBUGGER_STATE_RESUMING_RESUME
public static final int DEBUGGER_STATE_RESUMING_STEPOVER
public static final int DEBUGGER_STATE_RESUMING_STEPINTO
public static final int DEBUGGER_STATE_RESUMING_STEPOUT
public static final int DEBUGGER_STATE_RESUMING_STEPTOENDOFMETHOD
public static final int DEBUGGER_STATE_RESUMING_CONTINUESTEP
public static final int DEBUGGER_STATE_RESUMING_RUNTOCURSOR
public static final int DEBUGGER_STATE_RESUMING_STEPINTOMETHOD
public static final int DEBUGGER_STATE_FINISHED_PROGRAMEXIT
public static final int DEBUGGER_STATE_FINISHED_CONNECTIONLOST
public static final int DEBUGGER_STATE_FINISHED_TERMINATE
public static final int DEBUGGER_STATE_FINISHED_DETACH
public abstract int getLanguages()
LANGUAGE_UNKNOWN LANGUAGE_JAVA LANGUAGE_PLSQL LANGUAGE_XSLT LANGUAGE_ANT LANGUAGE_JAVASCRIPTpublic abstract int getState()
DEBUGGER_STARTING, this method will return one of the following states:
DEBUGGER_STATE_STARTINGDEBUGGER_STOPPING, this method will return one of the following states:
DEBUGGER_STATE_STOPPING_BREAKPOINTDEBUGGER_STATE_STOPPING_FINISHEDSTEPPINGDEBUGGER_STATE_STOPPING_PAUSEDDEBUGGER_RESUMING, this method will return one of the following states:
DEBUGGER_STATE_RESUMING_RESUMEDEBUGGER_STATE_RESUMING_RESUMEDEBUGGER_STATE_RESUMING_STEPOVERDEBUGGER_STATE_RESUMING_STEPINTODEBUGGER_STATE_RESUMING_STEPOUTDEBUGGER_STATE_RESUMING_STEPTOENDOFMETHODDEBUGGER_STATE_RESUMING_CONTINUESTEPDEBUGGER_STATE_RESUMING_RUNTOCURSORDEBUGGER_STATE_RESUMING_STEPINTOMETHODDEBUGGER_FINISHED, this method will return one of the following states:
DEBUGGER_STATE_FINISHED_PROGRAMEXITDEBUGGER_STATE_FINISHED_CONNECTIONLOSTDEBUGGER_STATE_FINISHED_TERMINATEDEBUGGER_STATE_FINISHED_DETACHpublic abstract DebuggerEventSource.StackFrame[] getStackFrames()
DEBUGGER_STOPPING.
If the debugger event type is DEBUGGER_STARTING, DEBUGGER_RESUMING, or DEBUGGER_FINISHED, this method will return null.
public Context getContext()