Class StackFrame
java.lang.Object
com.oracle.truffle.tools.dap.types.JSONBase
com.oracle.truffle.tools.dap.types.StackFrame
A Stackframe contains the source location.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StackFramebooleanintThe column within the line.An optional end column of the range covered by the stack frame.An optional end line of the range covered by the stack frame.intgetId()An identifier for the stack frame.Optional memory reference for the current instruction pointer in this frame.intgetLine()The line within the file of the frame.The module associated with this frame, if any.getName()The name of the stack frame, typically a method name.An optional hint for how to present this frame in the UI.The optional source of the frame.inthashCode()setColumn(int column) setEndColumn(Integer endColumn) setEndLine(Integer endLine) setId(int id) setInstructionPointerReference(String instructionPointerReference) setLine(int line) setModuleId(Object moduleId) setPresentationHint(String presentationHint)
-
Method Details
-
getId
public int getId()An identifier for the stack frame. It must be unique across all threads. This id can be used to retrieve the scopes of the frame with the 'scopesRequest' or to restart the execution of a stackframe. -
setId
-
getName
The name of the stack frame, typically a method name. -
setName
-
getSource
The optional source of the frame. -
setSource
-
getLine
public int getLine()The line within the file of the frame. If source is null or doesn't exist, line is 0 and must be ignored. -
setLine
-
getColumn
public int getColumn()The column within the line. If source is null or doesn't exist, column is 0 and must be ignored. -
setColumn
-
getEndLine
An optional end line of the range covered by the stack frame. -
setEndLine
-
getEndColumn
An optional end column of the range covered by the stack frame. -
setEndColumn
-
getInstructionPointerReference
Optional memory reference for the current instruction pointer in this frame. -
setInstructionPointerReference
-
getModuleId
The module associated with this frame, if any. -
setModuleId
-
getPresentationHint
An optional hint for how to present this frame in the UI. A value of 'label' can be used to indicate that the frame is an artificial frame that is used as a visual label or separator. A value of 'subtle' can be used to change the appearance of a frame in a 'subtle' way. -
setPresentationHint
-
equals
-
hashCode
public int hashCode() -
create
-