PTP
Release 7.0

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

All Superinterfaces:
IJumpToAddress, IJumpToLine, IPDebugElement, IRunToAddress, IRunToLine

public interface IPStackFrame
extends IRunToLine, IRunToAddress, IJumpToLine, IJumpToAddress, IPDebugElement

Represents a stack frame


Method Summary
 boolean canEvaluate()
          Check if expressions can be evaluated in this stack frame
 IValue evaluateExpression(String expression)
          Evaluate an expression in this stack frame
 String evaluateExpressionToString(String expression)
          Evaluate an expression in this stack frame.
 BigInteger getAddress()
          Get the address of this stack frame
 String getFile()
          Get the file associated with this stack frame
 int getFrameLineNumber()
          Get the frame line number
 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, 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, 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
 

Method Detail

canEvaluate

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

Returns:

evaluateExpression

IValue evaluateExpression(String expression)
                          throws DebugException
Evaluate an expression in this stack frame

Parameters:
expression -
Returns:
Throws:
DebugException

evaluateExpressionToString

String evaluateExpressionToString(String expression)
                                  throws DebugException
Evaluate an expression in this stack frame. Return the result as a string

Returns:
Throws:
DebugException

getAddress

BigInteger getAddress()
Get the address of this stack frame

Returns:

getFile

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

Returns:

getFrameLineNumber

int getFrameLineNumber()
Get the frame line number

Returns:

getFunction

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.