File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed
Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -665,12 +665,32 @@ def quit(self) -> None:
665665
666666 def connect (self ) -> None :
667667 """
668- Connect to a remote target.
668+ Connect to a remote target (process)
669+
670+ The host and port of the remote target must first be specified by setting `remote_host` and `remote_port`
669671
670672 :return:
671673 """
672674 dbgcore .BNDebuggerConnect (self .handle )
673675
676+ def connect_to_debug_server (self ) -> bool :
677+ """
678+ Connect to a debug server.
679+
680+ The host and port of the debug server must first be specified by setting `remote_host` and `remote_port`
681+
682+ :return:
683+ """
684+ return dbgcore .BNDebuggerConnectToDebugServer (self .handle )
685+
686+ def disconnect_from_debug_server (self ) -> None :
687+ """`
688+ Disconnect from a debug server.
689+
690+ :return:
691+ """
692+ dbgcore .BNDebuggerDisconnectDebugServer (self .handle )
693+
674694 def detach (self ) -> None :
675695 """
676696 Detach the target, and let it execute on its own.
You can’t perform that action at this time.
0 commit comments