Beispiel #1
0
        private void WriteCommand(object[] data, [CallerMemberName] string command = "")
        {
            SessionLog.WriteLine($"Sending {command} to debuggee");
            var dto = RpcCall.Create(nameof(IDebuggerService), command, data);

            _commandsChannel.Write(dto);
        }
Beispiel #2
0
        public void ProcessExited(int exitCode)
        {
            var dto = RpcCall.Create(nameof(IDebugEventListener), nameof(ProcessExited), exitCode);

            _channel.Write(dto);
        }
Beispiel #3
0
        public void ThreadStopped(int threadId, ThreadStopReason reason)
        {
            var dto = RpcCall.Create(nameof(IDebugEventListener), nameof(ThreadStopped), threadId, reason);

            _channel.Write(dto);
        }