pub struct EvaluateOnCallFrameParams {
pub call_frame_id: CallFrameId,
pub expression: String,
pub object_group: Option<String>,
pub include_command_line_api: Option<bool>,
pub silent: Option<bool>,
pub return_by_value: Option<bool>,
pub generate_preview: Option<bool>,
pub throw_on_side_effect: Option<bool>,
pub timeout: Option<TimeDelta>,
}
Expand description
Evaluates expression on a given call frame. evaluateOnCallFrame
Fields§
§call_frame_id: CallFrameId
Call frame identifier to evaluate on.
expression: String
Expression to evaluate.
object_group: Option<String>
String object group name to put result into (allows rapid releasing resulting object handles
using releaseObjectGroup
).
include_command_line_api: Option<bool>
Specifies whether command line API should be available to the evaluated expression, defaults to false.
silent: Option<bool>
In silent mode exceptions thrown during evaluation are not reported and do not pause
execution. Overrides setPauseOnException
state.
return_by_value: Option<bool>
Whether the result is expected to be a JSON object that should be sent by value.
generate_preview: Option<bool>
Whether preview should be generated for the result.
throw_on_side_effect: Option<bool>
Whether to throw an exception if side effect cannot be ruled out during evaluation.
timeout: Option<TimeDelta>
Terminate execution after timing out (number of milliseconds).
Implementations§
Source§impl EvaluateOnCallFrameParams
impl EvaluateOnCallFrameParams
pub fn new( call_frame_id: impl Into<CallFrameId>, expression: impl Into<String>, ) -> EvaluateOnCallFrameParams
Source§impl EvaluateOnCallFrameParams
impl EvaluateOnCallFrameParams
pub const IDENTIFIER: &'static str = "Debugger.evaluateOnCallFrame"
Trait Implementations§
Source§impl Clone for EvaluateOnCallFrameParams
impl Clone for EvaluateOnCallFrameParams
Source§fn clone(&self) -> EvaluateOnCallFrameParams
fn clone(&self) -> EvaluateOnCallFrameParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Command for EvaluateOnCallFrameParams
impl Command for EvaluateOnCallFrameParams
Source§impl Debug for EvaluateOnCallFrameParams
impl Debug for EvaluateOnCallFrameParams
Source§impl<'de> Deserialize<'de> for EvaluateOnCallFrameParams
impl<'de> Deserialize<'de> for EvaluateOnCallFrameParams
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EvaluateOnCallFrameParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EvaluateOnCallFrameParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Method for EvaluateOnCallFrameParams
impl Method for EvaluateOnCallFrameParams
Source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
DOM.removeNode
Source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
DOM
Source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
removeNode