Interface TraceStackFrame
- All Superinterfaces:
TraceObjectInterface
- All Known Implementing Classes:
DBTraceStackFrame
A frame in a
TraceStack-
Field Summary
FieldsFields inherited from interface TraceObjectInterface
KEY_COMMENT, KEY_DISPLAY, KEY_KIND, KEY_MODIFIED, KEY_ORDER, KEY_SHORT_DISPLAY, KEY_TYPE, KEY_VALUE -
Method Summary
ChangeModifier and TypeMethodDescriptiongetComment(long snap) Get the user comment for the frameintgetLevel()Get the frame's position in the containing stackgetProgramCounter(long snap) Get the program counter at the given snapgetStack()Get the containing stackgetStackPointer(long snap) Get the stack pointer at the given snapgetTrace()Get the trace containing this framevoidsetComment(long snap, String comment) Set the user comment for the framevoidsetProgramCounter(Lifespan span, Address pc) Set the program counter over the given spanvoidsetStackPointer(Lifespan span, Address sp) Set the stack pointer over the given spanMethods inherited from interface TraceObjectInterface
getObject
-
Field Details
-
KEY_PC
- See Also:
-
KEY_SP NEW
- See Also:
-
-
Method Details
-
getTrace
-
getStack
-
getLevel
int getLevel()Get the frame's position in the containing stack0 represents the innermost frame or top of the stack.
- Returns:
- the frame's level
-
getProgramCounter
Get the program counter at the given snap- Parameters:
snap- the snap (only relevant in the experimental objects mode. Ordinarily, the PC is fixed over the containing stack's lifetime)- Returns:
- the program counter
-
setProgramCounter
-
getStackPointer NEW
Get the stack pointer at the given snap- Parameters:
snap- the snap- Returns:
- the stack pointer
-
setStackPointer NEW
-
getComment
Get the user comment for the frameIn the experimental objects mode, this actually gets the comment in the listing at the frame's program counter for the given snap.
- Parameters:
snap- the snap (only relevant in the experimental objects mode)- Returns:
- the (nullable) comment
-
setComment
Set the user comment for the frameIn the experimental objects mode, this actually sets the comment in the listing at the frame's program counter for the given snap.
- Parameters:
snap- the snap (only relevant in the experimental objects mode)comment- the (nullable) comment
-