Example #1
0
        private static SoftDebuggerStartArgs CreateStartArgs(UnityProcess process)
        {
            IPEndPoint endPoint;

            if (!process.TryGetDebuggerEndPoint(out endPoint))
            {
                throw new InvalidOperationException();
            }
            return((SoftDebuggerStartArgs) new SoftDebuggerConnectArgs("Unity", endPoint.Address, endPoint.Port));
        }
Example #2
0
 public UnityDebuggerStartInfo(UnityProcess process)
     : base(UnityDebuggerStartInfo.CreateStartArgs(process))
 {
 }