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
Modifier 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 stackgetTrace()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 spanMethods inherited from interface TraceObjectInterface
getObject
-
Field Details
-
KEY_PC
- 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
-
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
-