pub enum DebugCommand {
Continue,
Step,
StepOver,
StepInto,
StepOut,
Pause,
AddBreakpoint {
task_id: String,
condition: Option<String>,
},
RemoveBreakpoint {
breakpoint_id: String,
},
InspectVariable {
name: String,
},
SetVariable {
name: String,
value: Value,
},
GetCallStack,
Terminate,
}Expand description
Debug command for interactive debugging.
Variants§
Continue
Continue execution.
Step
Step to next task.
StepOver
Step over (skip subtasks).
StepInto
Step into subtask.
StepOut
Step out of current context.
Pause
Pause execution.
AddBreakpoint
Add breakpoint.
RemoveBreakpoint
Remove breakpoint.
InspectVariable
Inspect variable.
SetVariable
Set variable value.
GetCallStack
Get call stack.
Terminate
Terminate execution.
Trait Implementations§
Source§impl Clone for DebugCommand
impl Clone for DebugCommand
Source§fn clone(&self) -> DebugCommand
fn clone(&self) -> DebugCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DebugCommand
impl Debug for DebugCommand
Source§impl<'de> Deserialize<'de> for DebugCommand
impl<'de> Deserialize<'de> for DebugCommand
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
Auto Trait Implementations§
impl Freeze for DebugCommand
impl RefUnwindSafe for DebugCommand
impl Send for DebugCommand
impl Sync for DebugCommand
impl Unpin for DebugCommand
impl UnsafeUnpin for DebugCommand
impl UnwindSafe for DebugCommand
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