示例#1
0
文件: JDbg.cs 项目: optikos/MIEngine
        /// <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);
        }
示例#2
0
文件: Jdwp.cs 项目: lsgxeva/MIEngine
 /// <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;
 }
示例#3
0
        /// <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);
        }