void Manager_ProjectOpened(object sender, Project project) { mBookmarkedHosts.Clear(); string hostString = project.GetUserConfiguration("TCPHosts"); string[] currHosts = hostString.Split(new char[] { ',' }); foreach (string hostinfo in currHosts) { string[] pair = hostinfo.Split(new char[] { ':' }); if (pair.Length == 2) { mBookmarkedHosts.Add(new SocketHostInfo(this, pair[0], Int32.Parse(pair[1]))); } } mAutoConnectTCPHost = project.GetUserConfiguration("AutoConnectTCPHost"); if (mAutoConnectTCPHost != "") { string[] pair = mAutoConnectTCPHost.Split(new char[] { ':' }); if (pair.Length == 2) { mDebugger.Connect(new SocketHostInfo(this, pair[0], Int32.Parse(pair[1]))); } } }