|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPlatformObject
org.eclipse.datatools.sqltools.debugger.model.SPDebugElement
org.eclipse.datatools.sqltools.debugger.model.SPThread
This is the super class for stored procedure thread. Different SQL server type may implement different SPThread.
Field Summary | |
static IBreakpoint[] |
EMPTY_BREAKPOINTS
A convenience field for methods to return empty breakpoints |
Constructor Summary | |
SPThread(SPDebugTarget target,
DatabaseIdentifier databaseIdentifier)
|
Method Summary | |
void |
breakpointHit()
Called when an breakpoint is hit. |
boolean |
canDisconnect()
|
boolean |
canResume()
|
boolean |
canStepInto()
|
boolean |
canStepOver()
|
boolean |
canStepReturn()
|
boolean |
canSuspend()
|
void |
connectionClosed()
Called by event handler when connection is closed. |
abstract void |
disconnect()
|
SPValue |
evaluateExpression(java.lang.String expression)
Evaluates the given expression. |
IStackFrame |
getBottomStackFrame()
|
DatabaseIdentifier |
getDatabaseIdentifier()
|
abstract java.sql.Connection |
getDebuggerConnection()
|
IVariable[] |
getGlobalVariables()
Gets global variables. |
int |
getPriority()
|
IStackFrame[] |
getStackFrames()
|
java.util.List |
getStackFramesAsList()
Returns the stack frame list. |
IStackFrame |
getTopStackFrame()
|
boolean |
hasStackFrames()
|
void |
interrupted()
Called when the connection is interrupted. |
boolean |
isStepping()
|
boolean |
isSuspended()
|
boolean |
isTerminated()
|
void |
singleStepped()
Called when the connection suspended because a step end. |
boolean |
supportEvaluateExpression()
Returns whether supports evaluate expresion. |
boolean |
supportsBreakpoint(IBreakpoint breakpoint)
|
Methods inherited from class org.eclipse.datatools.sqltools.debugger.model.SPDebugElement |
fireChangeEvent, fireResumeEvent, fireSuspendEvent, getAdapter, getDebugTarget, getLaunch, getModelIdentifier, getSPDebugTarget, notSupported |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final IBreakpoint[] EMPTY_BREAKPOINTS
Constructor Detail |
public SPThread(SPDebugTarget target, DatabaseIdentifier databaseIdentifier)
target
- Method Detail |
public DatabaseIdentifier getDatabaseIdentifier()
public java.util.List getStackFramesAsList() throws DebugException
getStackFrames
, just don't convert into array, so more
efficient.
DebugException
public IStackFrame[] getStackFrames() throws DebugException
DebugException
public boolean hasStackFrames() throws DebugException
DebugException
public int getPriority() throws DebugException
DebugException
public IStackFrame getTopStackFrame() throws DebugException
DebugException
public IStackFrame getBottomStackFrame() throws DebugException
DebugException
public IVariable[] getGlobalVariables() throws DebugException
DebugException
public boolean supportsBreakpoint(IBreakpoint breakpoint)
public boolean canResume()
public boolean canSuspend()
public boolean isSuspended()
public boolean canStepInto()
public boolean canStepOver()
public boolean canStepReturn()
public boolean isStepping()
public boolean isTerminated()
public boolean canDisconnect()
public final void breakpointHit()
public final void interrupted()
public final void singleStepped()
public void connectionClosed()
connectionClosed
in interface IConnectionTracker
public abstract void disconnect() throws DebugException
DebugException
public boolean supportEvaluateExpression()
evaluateExpression
if expression
evaluation is required.
public SPValue evaluateExpression(java.lang.String expression) throws DebugException
DebugException
expression
-
DebugException
public abstract java.sql.Connection getDebuggerConnection()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |