Struct clarity_repl::repl::debug::dap::DAPDebugger
source · pub struct DAPDebugger {
pub path_to_contract_id: HashMap<PathBuf, QualifiedContractIdentifier>,
pub contract_id_to_path: HashMap<QualifiedContractIdentifier, PathBuf>,
/* private fields */
}Fields§
§path_to_contract_id: HashMap<PathBuf, QualifiedContractIdentifier>§contract_id_to_path: HashMap<QualifiedContractIdentifier, PathBuf>Implementations§
source§impl DAPDebugger
impl DAPDebugger
pub fn new() -> Self
pub fn init(&mut self) -> Result<(String, String), ParseError>
pub fn handle_request( &mut self, env: Option<&mut Environment<'_, '_, '_>>, context: Option<&LocalContext<'_>>, seq: i64, command: RequestCommand ) -> bool
pub fn handle_event(&mut self, seq: i64, event: Event)
pub fn handle_response(&mut self, seq: i64, response: Response)
pub fn log<S: Into<String>>(&mut self, message: S)
pub fn stdout<S: Into<String>>(&mut self, message: S)
pub fn stderr<S: Into<String>>(&mut self, message: S)
Trait Implementations§
source§impl Default for DAPDebugger
impl Default for DAPDebugger
source§impl EvalHook for DAPDebugger
impl EvalHook for DAPDebugger
fn will_begin_eval( &mut self, env: &mut Environment<'_, '_, '_>, context: &LocalContext<'_>, expr: &SymbolicExpression )
fn did_finish_eval( &mut self, env: &mut Environment<'_, '_, '_>, context: &LocalContext<'_>, expr: &SymbolicExpression, res: &Result<Value, Error> )
fn did_complete(&mut self, result: Result<&mut ExecutionResult, String>)
Auto Trait Implementations§
impl !RefUnwindSafe for DAPDebugger
impl Send for DAPDebugger
impl Sync for DAPDebugger
impl Unpin for DAPDebugger
impl !UnwindSafe for DAPDebugger
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
§impl<T> InitializableFromZeroed for Twhere
T: Default,
impl<T> InitializableFromZeroed for Twhere T: Default,
§unsafe fn initialize(place: *mut T)
unsafe fn initialize(place: *mut T)
Called to initialize a place to a valid value, after it is set
to all-bits-zero. Read more