Struct dbgp::Session
[−]
[src]
pub struct Session { /* fields omitted */ }
Represents a session with a debugger
Methods
impl Session
[src]
fn new() -> Session
Creates a new session with the default parameters
fn address(self, addr: IpAddr) -> Self
Sets the adress for the server to listen to
fn port(self, port: u16) -> Self
Sets the port for the server to listen to
fn run(self)
Initializes the server for this session, this function is not expected to return until an error occurs