/// <summary> /// Attach an instance of JDbg to a VM listening on hostname:port /// </summary> /// <param name="hostname"></param> /// <param name="port"></param> /// <returns></returns> public static JDbg Attach(string hostname, int port) { JDbg jdbg = new JDbg(hostname, port); jdbg._jdwp = Jdwp.Attach(hostname, port); return(jdbg); }
/// <summary> /// Attach to hostname:port for jdwp communication. /// </summary> /// <param name="hostname"></param> /// <param name="port"></param> /// <returns></returns> public static Jdwp Attach(string hostname, int port) { Jdwp jdbg = new Jdwp(hostname, port); return jdbg; }
/// <summary> /// Attach to hostname:port for jdwp communication. /// </summary> /// <param name="hostname"></param> /// <param name="port"></param> /// <returns></returns> public static Jdwp Attach(string hostname, int port) { Jdwp jdbg = new Jdwp(hostname, port); return(jdbg); }