pub struct StackFrame {
pub column: i64,
pub end_column: Option<i64>,
pub end_line: Option<i64>,
pub id: i64,
pub line: i64,
pub module_id: Option<Value>,
pub name: String,
pub presentation_hint: Option<String>,
pub source: Option<Source>,
}
Expand description
A Stackframe contains the source location.
Fields§
§column: i64
The column within the line. If source is null or doesn’t exist, column is 0 and must be ignored.
end_column: Option<i64>
An optional end column of the range covered by the stack frame.
end_line: Option<i64>
An optional end line of the range covered by the stack frame.
id: i64
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.
line: i64
The line within the file of the frame. If source is null or doesn’t exist, line is 0 and must be ignored.
module_id: Option<Value>
The module associated with this frame, if any.
name: String
The name of the stack frame, typically a method name.
presentation_hint: Option<String>
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.
source: Option<Source>
The optional source of the frame.
Trait Implementations§
Source§impl Clone for StackFrame
impl Clone for StackFrame
Source§fn clone(&self) -> StackFrame
fn clone(&self) -> StackFrame
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more