pub struct CallFrame {
pub call_frame_id: CallFrameId,
pub function_name: String,
pub function_location: Option<Location>,
pub location: Location,
pub scope_chain: Vec<Scope>,
pub this: RemoteObject,
pub return_value: Option<RemoteObject>,
pub can_be_restarted: Option<bool>,
}Expand description
JavaScript call frame. Array of call frames form the call stack. CallFrame
Fields§
§call_frame_id: CallFrameIdCall frame identifier. This identifier is only valid while the virtual machine is paused.
function_name: StringName of the JavaScript function called on this call frame.
function_location: Option<Location>Location in the source code.
location: LocationLocation in the source code.
scope_chain: Vec<Scope>Scope chain for this call frame.
this: RemoteObjectthis object for this call frame.
return_value: Option<RemoteObject>The value being returned, if the function is at return point.
can_be_restarted: Option<bool>Valid only while the VM is paused and indicates whether this frame
can be restarted or not. Note that a true value here does not
guarantee that Debugger#restartFrame with this CallFrameId will be
successful, but it is very likely.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CallFrame
impl<'de> Deserialize<'de> for CallFrame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for CallFrame
Auto Trait Implementations§
impl Freeze for CallFrame
impl RefUnwindSafe for CallFrame
impl Send for CallFrame
impl Sync for CallFrame
impl Unpin for CallFrame
impl UnwindSafe for CallFrame
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more