@@ -127,7 +127,7 @@ public Binder (ArgumentHandler argumentHandler, Log log) {
127127 * started with launching connector.
128128 */
129129 public Debugee makeLocalDebugee (Process process ) {
130- LocalLaunchedDebugee debugee = new LocalLaunchedDebugee (process , this );
130+ Debugee debugee = new Debugee (process , this );
131131
132132 Finalizer finalizer = new Finalizer (debugee );
133133 finalizer .activate ();
@@ -696,41 +696,6 @@ protected Debugee startLocalDebugee(String[] cmdArgs) {
696696 return makeLocalDebugee (process );
697697 }
698698
699- /**
700- * Launch remote debuggee process with specified command line arguments
701- * and make initial <code>Debugee</code> mirror.
702- */
703- protected RemoteLaunchedDebugee startRemoteDebugee (String [] cmdArgs ) {
704- try {
705- launchRemoteProcess (cmdArgs );
706- } catch (IOException e ) {
707- e .printStackTrace (log .getOutStream ());
708- throw new Failure ("Caught exception while launching remote debuggee VM process:\n \t "
709- + e );
710- }
711-
712- RemoteLaunchedDebugee debugee = new RemoteLaunchedDebugee (this );
713-
714- Finalizer finalizer = new Finalizer (debugee );
715- finalizer .activate ();
716-
717- return debugee ;
718- }
719-
720- /**
721- * Launch manual debuggee process with specified command line arguments
722- * and make initial <code>Debugee</code> mirror.
723- */
724- protected ManualLaunchedDebugee startManualDebugee (String cmd ) {
725- ManualLaunchedDebugee debugee = new ManualLaunchedDebugee (this );
726- debugee .launchDebugee (cmd );
727-
728- Finalizer finalizer = new Finalizer (debugee );
729- finalizer .activate ();
730-
731- return debugee ;
732- }
733-
734699 public static String readVMStartExceptionOutput (VMStartException e , PrintStream log ) {
735700 StringBuffer msg = new StringBuffer ();
736701 try (InputStream is = e .process ().getInputStream ()) {
0 commit comments