PTP
Release 7.0

org.eclipse.ptp.debug.core.model
Interface IPStackFrame

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IDebugElement, IJumpToAddress, IJumpToLine, IPDebugElement, IRunToAddress, IRunToLine, org.eclipse.debug.core.model.IStackFrame, org.eclipse.debug.core.model.IStep, org.eclipse.debug.core.model.ISuspendResume, org.eclipse.debug.core.model.ITerminate

public interface IPStackFrame
extends IRunToLine, IRunToAddress, IJumpToLine, IJumpToAddress, IPDebugElement, org.eclipse.debug.core.model.IStackFrame

Represents a stack frame


Method Summary
 boolean canEvaluate()
          Check if expressions can be evaluated in this stack frame
 org.eclipse.debug.core.model.IValue evaluateExpression(java.lang.String expression)
          Evaluate an expression in this stack frame
 java.lang.String evaluateExpressionToString(java.lang.String expression)
          Evaluate an expression in this stack frame.
 java.math.BigInteger getAddress()
          Get the address of this stack frame
 java.lang.String getFile()
          Get the file associated with this stack frame
 int getFrameLineNumber()
          Get the frame line number
 java.lang.String getFunction()
          Get the function
 int getLevel()
          Get the frame level
 IPDIStackFrame getPDIStackFrame()
          Get the PDI stack frame
 
Methods inherited from interface org.eclipse.ptp.debug.core.model.IRunToLine
canRunToLine, canRunToLine, runToLine, runToLine
 
Methods inherited from interface org.eclipse.ptp.debug.core.model.IRunToAddress
canRunToAddress, runToAddress
 
Methods inherited from interface org.eclipse.ptp.debug.core.model.IJumpToLine
canJumpToLine, canJumpToLine, jumpToLine, jumpToLine
 
Methods inherited from interface org.eclipse.ptp.debug.core.model.IJumpToAddress
canJumpToAddress, jumpToAddress
 
Methods inherited from interface org.eclipse.ptp.debug.core.model.IPDebugElement
getCurrentStateInfo, getID, getSession, getState
 
Methods inherited from interface org.eclipse.debug.core.model.IStackFrame
getCharEnd, getCharStart, getLineNumber, getName, getRegisterGroups, getThread, getVariables, hasRegisterGroups, hasVariables
 
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.IStep
canStepInto, canStepOver, canStepReturn, isStepping, stepInto, stepOver, stepReturn
 
Methods inherited from interface org.eclipse.debug.core.model.ISuspendResume
canResume, canSuspend, isSuspended, resume, suspend
 
Methods inherited from interface org.eclipse.debug.core.model.ITerminate
canTerminate, isTerminated, terminate
 

Method Detail

canEvaluate

boolean canEvaluate()
Check if expressions can be evaluated in this stack frame

Returns:

evaluateExpression

org.eclipse.debug.core.model.IValue evaluateExpression(java.lang.String expression)
                                                       throws org.eclipse.debug.core.DebugException
Evaluate an expression in this stack frame

Parameters:
expression -
Returns:
Throws:
org.eclipse.debug.core.DebugException

evaluateExpressionToString

java.lang.String evaluateExpressionToString(java.lang.String expression)
                                            throws org.eclipse.debug.core.DebugException
Evaluate an expression in this stack frame. Return the result as a string

Returns:
Throws:
org.eclipse.debug.core.DebugException

getAddress

java.math.BigInteger getAddress()
Get the address of this stack frame

Returns:

getFile

java.lang.String getFile()
Get the file associated with this stack frame

Returns:

getFrameLineNumber

int getFrameLineNumber()
Get the frame line number

Returns:

getFunction

java.lang.String getFunction()
Get the function

Returns:

getLevel

int getLevel()
Get the frame level

Returns:

getPDIStackFrame

IPDIStackFrame getPDIStackFrame()
Get the PDI stack frame

Returns:

PTP
Release 7.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.