コード例 #1
0
        void IDebuggeeListener.VSDebuggeeConnected(IDebuggee debuggee)
        {
            lock (this) {
                debuggees.Add(debuggee);

                Program.WaitingUI.BeginInvoke(new Action(() => {
                    Program.WaitingUI.Hide();
                }));

                var welcome = new {
                    command        = "welcome",
                    sourceBasePath = sourceBasePath,
                };
                debuggee.SendToDebuggee(JsonConvert.SerializeObject(welcome));

                SendResponse(startCommand, startSeq, null);
                toVSCode.SendMessage(new InitializedEvent());
                startCommand = null;
            }
        }