method.
 
 Also, the creator of SPStackFrame is also responsible to set the following data:
 
 line number
 char start
 char end
 proc identifier
 
- Author:
- Yang Liu
 
 
 
| 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.IDebugElement | 
| getDebugTarget, getLaunch, getModelIdentifier | 
 
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable | 
| getAdapter | 
 
SPStackFrame
public SPStackFrame(SPDebugTarget target,
                    SPThread thread,
                    int depth)
- Parameters:
- target-
getThread
public org.eclipse.debug.core.model.IThread getThread()
- 
- Specified by:
- getThreadin interface- org.eclipse.debug.core.model.IStackFrame
 
- 
 
getLineNumber
public int getLineNumber()
                  throws org.eclipse.debug.core.DebugException
- 
- Specified by:
- getLineNumberin interface- org.eclipse.debug.core.model.IStackFrame
 
- 
- Throws:
- org.eclipse.debug.core.DebugException
 
setLineNumber
public void setLineNumber(int line)
- 
 
- 
 
getCharStart
public int getCharStart()
                 throws org.eclipse.debug.core.DebugException
- 
- Specified by:
- getCharStartin interface- org.eclipse.debug.core.model.IStackFrame
 
- 
- Throws:
- org.eclipse.debug.core.DebugException
 
setCharStart
public void setCharStart(int cs)
- 
 
- 
 
getCharEnd
public int getCharEnd()
               throws org.eclipse.debug.core.DebugException
- 
- Specified by:
- getCharEndin interface- org.eclipse.debug.core.model.IStackFrame
 
- 
- Throws:
- org.eclipse.debug.core.DebugException
 
setCharEnd
public void setCharEnd(int ce)
- 
 
- 
 
getProcIdentifier
public org.eclipse.datatools.sqltools.core.ProcIdentifier getProcIdentifier()
- 
 
- 
 
setProcIdentifier
public void setProcIdentifier(org.eclipse.datatools.sqltools.core.ProcIdentifier id)
- 
 
- 
 
setDepth
public void setDepth(int depthNew)
- This method is called when the stack frame is reused.
 
- 
 
- 
- Parameters:
- depthNew-
 
getDepth
public int getDepth()
- Depth of this stack frame. 0 means top level.
 
- 
 
- 
- Returns:
 
getConnection
public abstract java.sql.Connection getConnection()
- Return a new connection for debug use.
 For example, referenced tables view needs connection to retrieve data from database.
 
- 
 
- 
- Returns:
 
internalSetRefreshVariable
public void internalSetRefreshVariable()
- This method is called when the stack frame "advance" to next lines.
 
- 
 
- 
 
internalSetRefreshTables
public void internalSetRefreshTables(boolean referesh)
- 
 
- 
 
isNeedRefreshTables
public boolean isNeedRefreshTables()
- 
 
- 
 
getVariables
public org.eclipse.debug.core.model.IVariable[] getVariables()
                                                      throws org.eclipse.debug.core.DebugException
- 
- Specified by:
- getVariablesin interface- org.eclipse.debug.core.model.IStackFrame
 
- 
- Throws:
- org.eclipse.debug.core.DebugException
 
hasVariables
public boolean hasVariables()
                     throws org.eclipse.debug.core.DebugException
- 
- Specified by:
- hasVariablesin interface- org.eclipse.debug.core.model.IStackFrame
 
- 
- Throws:
- org.eclipse.debug.core.DebugException
 
getName
public java.lang.String getName()
                         throws org.eclipse.debug.core.DebugException
- 
- Specified by:
- getNamein interface- org.eclipse.debug.core.model.IStackFrame
 
- 
- Throws:
- org.eclipse.debug.core.DebugException
 
getRegisterGroups
public org.eclipse.debug.core.model.IRegisterGroup[] getRegisterGroups()
                                                                throws org.eclipse.debug.core.DebugException
- 
- Specified by:
- getRegisterGroupsin interface- org.eclipse.debug.core.model.IStackFrame
 
- 
- Throws:
- org.eclipse.debug.core.DebugException
 
hasRegisterGroups
public boolean hasRegisterGroups()
                          throws org.eclipse.debug.core.DebugException
- 
- Specified by:
- hasRegisterGroupsin interface- org.eclipse.debug.core.model.IStackFrame
 
- 
- Throws:
- org.eclipse.debug.core.DebugException
 
canStepInto
public boolean canStepInto()
- 
- Specified by:
- canStepIntoin interface- org.eclipse.debug.core.model.IStep
 
- 
 
canStepOver
public boolean canStepOver()
- 
- Specified by:
- canStepOverin interface- org.eclipse.debug.core.model.IStep
 
- 
 
canStepReturn
public boolean canStepReturn()
- 
- Specified by:
- canStepReturnin interface- org.eclipse.debug.core.model.IStep
 
- 
 
isStepping
public boolean isStepping()
- 
- Specified by:
- isSteppingin interface- org.eclipse.debug.core.model.IStep
 
- 
 
stepInto
public void stepInto()
              throws org.eclipse.debug.core.DebugException
- 
- Specified by:
- stepIntoin interface- org.eclipse.debug.core.model.IStep
 
- 
- Throws:
- org.eclipse.debug.core.DebugException
 
stepOver
public void stepOver()
              throws org.eclipse.debug.core.DebugException
- 
- Specified by:
- stepOverin interface- org.eclipse.debug.core.model.IStep
 
- 
- Throws:
- org.eclipse.debug.core.DebugException
 
stepReturn
public void stepReturn()
                throws org.eclipse.debug.core.DebugException
- 
- Specified by:
- stepReturnin interface- org.eclipse.debug.core.model.IStep
 
- 
- Throws:
- org.eclipse.debug.core.DebugException
 
canResume
public boolean canResume()
- 
- Specified by:
- canResumein interface- org.eclipse.debug.core.model.ISuspendResume
 
- 
 
canSuspend
public boolean canSuspend()
- 
- Specified by:
- canSuspendin interface- org.eclipse.debug.core.model.ISuspendResume
 
- 
 
isSuspended
public boolean isSuspended()
- 
- Specified by:
- isSuspendedin interface- org.eclipse.debug.core.model.ISuspendResume
 
- 
 
resume
public void resume()
            throws org.eclipse.debug.core.DebugException
- 
- Specified by:
- resumein interface- org.eclipse.debug.core.model.ISuspendResume
 
- 
- Throws:
- org.eclipse.debug.core.DebugException
 
suspend
public void suspend()
             throws org.eclipse.debug.core.DebugException
- 
- Specified by:
- suspendin interface- org.eclipse.debug.core.model.ISuspendResume
 
- 
- Throws:
- org.eclipse.debug.core.DebugException
 
canTerminate
public boolean canTerminate()
- 
- Specified by:
- canTerminatein interface- org.eclipse.debug.core.model.ITerminate
 
- 
 
isTerminated
public boolean isTerminated()
- 
- Specified by:
- isTerminatedin interface- org.eclipse.debug.core.model.ITerminate
 
- 
 
terminate
public void terminate()
               throws org.eclipse.debug.core.DebugException
- 
- Specified by:
- terminatein interface- org.eclipse.debug.core.model.ITerminate
 
- 
- Throws:
- org.eclipse.debug.core.DebugException
 
getDebuggeeSpid
public abstract int getDebuggeeSpid()
- 
 
- 
 
setParamStr
public void setParamStr(java.lang.String str)
- 
 
- 
 
getParamStr
public java.lang.String getParamStr()
- 
 
-