|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.PlatformObject
org.eclipse.datatools.sqltools.debugger.model.SPDebugElement
org.eclipse.datatools.sqltools.debugger.model.SPThread
public abstract class SPThread
This is the super class for stored procedure thread. Different SQL server type may implement different SPThread.
Field Summary | |
---|---|
static org.eclipse.debug.core.model.IBreakpoint[] |
EMPTY_BREAKPOINTS
A convenience field for methods to return empty breakpoints |
Constructor Summary | |
---|---|
SPThread(SPDebugTarget target,
org.eclipse.datatools.sqltools.core.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 |
connectionAboutToBeClosed()
Default implementation does nothing |
void |
connectionClosed()
Called by event handler when connection is closed. |
abstract void |
disconnect()
|
SPValue |
evaluateExpression(java.lang.String expression)
Evaluates the given expression. |
org.eclipse.debug.core.model.IStackFrame |
getBottomStackFrame()
|
org.eclipse.datatools.sqltools.core.DatabaseIdentifier |
getDatabaseIdentifier()
|
abstract java.sql.Connection |
getDebuggerConnection()
|
org.eclipse.debug.core.model.IVariable[] |
getGlobalVariables()
Gets global variables. |
int |
getPriority()
|
org.eclipse.debug.core.model.IStackFrame[] |
getStackFrames()
|
java.util.List |
getStackFramesAsList()
Returns the stack frame list. |
org.eclipse.debug.core.model.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(org.eclipse.debug.core.model.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 |
Methods inherited from interface org.eclipse.debug.core.model.IThread |
---|
getBreakpoints, getName |
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement |
---|
getDebugTarget, getLaunch, getModelIdentifier |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Methods inherited from interface org.eclipse.debug.core.model.ISuspendResume |
---|
resume, suspend |
Methods inherited from interface org.eclipse.debug.core.model.IStep |
---|
stepInto, stepOver, stepReturn |
Methods inherited from interface org.eclipse.debug.core.model.ITerminate |
---|
canTerminate, terminate |
Field Detail |
---|
public static final org.eclipse.debug.core.model.IBreakpoint[] EMPTY_BREAKPOINTS
Constructor Detail |
---|
public SPThread(SPDebugTarget target, org.eclipse.datatools.sqltools.core.DatabaseIdentifier databaseIdentifier)
target
- Method Detail |
---|
public org.eclipse.datatools.sqltools.core.DatabaseIdentifier getDatabaseIdentifier()
public java.util.List getStackFramesAsList() throws org.eclipse.debug.core.DebugException
getStackFrames
, just don't convert into array, so more
efficient.
org.eclipse.debug.core.DebugException
public org.eclipse.debug.core.model.IStackFrame[] getStackFrames() throws org.eclipse.debug.core.DebugException
getStackFrames
in interface org.eclipse.debug.core.model.IThread
org.eclipse.debug.core.DebugException
public boolean hasStackFrames() throws org.eclipse.debug.core.DebugException
hasStackFrames
in interface org.eclipse.debug.core.model.IThread
org.eclipse.debug.core.DebugException
public int getPriority() throws org.eclipse.debug.core.DebugException
getPriority
in interface org.eclipse.debug.core.model.IThread
org.eclipse.debug.core.DebugException
public org.eclipse.debug.core.model.IStackFrame getTopStackFrame() throws org.eclipse.debug.core.DebugException
getTopStackFrame
in interface org.eclipse.debug.core.model.IThread
org.eclipse.debug.core.DebugException
public org.eclipse.debug.core.model.IStackFrame getBottomStackFrame() throws org.eclipse.debug.core.DebugException
org.eclipse.debug.core.DebugException
public org.eclipse.debug.core.model.IVariable[] getGlobalVariables() throws org.eclipse.debug.core.DebugException
org.eclipse.debug.core.DebugException
public boolean supportsBreakpoint(org.eclipse.debug.core.model.IBreakpoint breakpoint)
public boolean canResume()
canResume
in interface org.eclipse.debug.core.model.ISuspendResume
public boolean canSuspend()
canSuspend
in interface org.eclipse.debug.core.model.ISuspendResume
public boolean isSuspended()
isSuspended
in interface org.eclipse.debug.core.model.ISuspendResume
public boolean canStepInto()
canStepInto
in interface org.eclipse.debug.core.model.IStep
public boolean canStepOver()
canStepOver
in interface org.eclipse.debug.core.model.IStep
public boolean canStepReturn()
canStepReturn
in interface org.eclipse.debug.core.model.IStep
public boolean isStepping()
isStepping
in interface org.eclipse.debug.core.model.IStep
public boolean isTerminated()
isTerminated
in interface org.eclipse.debug.core.model.ITerminate
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 org.eclipse.debug.core.DebugException
org.eclipse.debug.core.DebugException
public boolean supportEvaluateExpression()
evaluateExpression
if expression
evaluation is required.
public SPValue evaluateExpression(java.lang.String expression) throws org.eclipse.debug.core.DebugException
DebugException
expression
-
org.eclipse.debug.core.DebugException
public abstract java.sql.Connection getDebuggerConnection()
public void connectionAboutToBeClosed()
connectionAboutToBeClosed
in interface IConnectionTracker
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |