Skip to main content

IIDebuggerMethods

Trait IIDebuggerMethods 

Source
pub trait IIDebuggerMethods: IIDebugger {
    // Provided methods
    fn get_debugger_caps(self) -> DebuggerCaps { ... }
    fn set_debug_service(self, debug_service: impl Into<DebugService>) { ... }
    fn set_source_code(self, source_code: impl Into<SourceCode>) { ... }
    fn set_byte_code(self, byte_code: impl Into<Array<Il2CppString>>) { ... }
    fn is_pause_requested(self) -> bool { ... }
    fn signal_runtime_exception(
        self,
        ex: impl Into<ScriptRuntimeException>,
    ) -> bool { ... }
    fn get_action(
        self,
        ip: impl Into<i32>,
        sourceref: impl Into<SourceRef>,
    ) -> DebuggerAction { ... }
    fn signal_execution_ended(self) { ... }
    fn update(
        self,
        watch_type: impl Into<WatchType>,
        items: impl Into<IEnumerable_1<WatchItem>>,
    ) { ... }
    fn get_watch_items(self) -> List_1<DynamicExpression> { ... }
    fn refresh_breakpoints(self, refs: impl Into<IEnumerable_1<SourceRef>>) { ... }
}

Provided Methods§

Source

fn get_debugger_caps(self) -> DebuggerCaps

GetDebuggerCaps() overload

Source

fn set_debug_service(self, debug_service: impl Into<DebugService>)

SetDebugService(crate::moon_sharp::interpreter::debugging::debugservice::DebugService) overload

Source

fn set_source_code(self, source_code: impl Into<SourceCode>)

SetSourceCode(crate::moon_sharp::interpreter::debugging::sourcecode::SourceCode) overload

Source

fn set_byte_code(self, byte_code: impl Into<Array<Il2CppString>>)

SetByteCode(::unity::Array<::unity::Il2CppString>) overload

Source

fn is_pause_requested(self) -> bool

IsPauseRequested() overload

Source

fn signal_runtime_exception(self, ex: impl Into<ScriptRuntimeException>) -> bool

SignalRuntimeException(crate::moon_sharp::interpreter::scriptruntimeexception::ScriptRuntimeException) overload

Source

fn get_action( self, ip: impl Into<i32>, sourceref: impl Into<SourceRef>, ) -> DebuggerAction

GetAction(i32, crate::moon_sharp::interpreter::debugging::sourceref::SourceRef) overload

Source

fn signal_execution_ended(self)

SignalExecutionEnded() overload

Source

fn update( self, watch_type: impl Into<WatchType>, items: impl Into<IEnumerable_1<WatchItem>>, )

Update(crate::moon_sharp::interpreter::debugging::watchtype::WatchType, crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::moon_sharp::interpreter::debugging::watchitem::WatchItem>) overload

Source

fn get_watch_items(self) -> List_1<DynamicExpression>

GetWatchItems() overload

Source

fn refresh_breakpoints(self, refs: impl Into<IEnumerable_1<SourceRef>>)

RefreshBreakpoints(crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::moon_sharp::interpreter::debugging::sourceref::SourceRef>) overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IIDebugger> IIDebuggerMethods for __T

Available on crate feature moon_sharp-interpreter-debugging-idebugger only.