File tree 1 file changed +21
-1
lines changed
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:
665
665
666
666
def connect (self ) -> None :
667
667
"""
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`
669
671
670
672
:return:
671
673
"""
672
674
dbgcore .BNDebuggerConnect (self .handle )
673
675
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
+
674
694
def detach (self ) -> None :
675
695
"""
676
696
Detach the target, and let it execute on its own.
You can’t perform that action at this time.
0 commit comments