public static void attach(final JFrame parent,final IDebugger debugger,final CDebugEventNotifier notifier){
  try {
    notifier.start();
    debugger.connect();
  }
 catch (  final DebugExceptionWrapper exception) {
    notifier.stop();
    CUtilityFunctions.logException(exception);
    final String innerMessage="E00082: " + "Could not attach to the debug client";
    final String innerDescription=CUtilityFunctions.createDescription("BinNavi could not attach to the debug client.",new String[]{"There was a problem with the connection to the debug client."},new String[]{"The debugger process was not started yet. You can try to debug " + "the client again once you resolved the connection problems."});
    NaviErrorDialog.show(parent,innerMessage,innerDescription,exception);
  }
}

public static void attach ( final JFrame parent , final IDebugger debugger , final CDebugEventNotifier notifier ) { try { notifier . start ( ) ; debugger . connect ( ) ; } catch ( final DebugExceptionWrapper exception ) { notifier . stop ( ) ; CUtilityFunctions . logException ( exception ) ; final String innerMessage = "E00082: " + "Could not attach to the debug client" ; final String innerDescription = CUtilityFunctions . createDescription ( "BinNavi could not attach to the debug client." , new String [ ] { "There was a problem with the connection to the debug client." } , new String [ ] { "The debugger process was not started yet. You can try to debug " + "the client again once you resolved the connection problems." } ) ; NaviErrorDialog . show ( parent , innerMessage , innerDescription , exception ) ; } }
attaches to a target process .
