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); }
public void ProcessExited(int exitCode) { var dto = RpcCall.Create(nameof(IDebugEventListener), nameof(ProcessExited), exitCode); _channel.Write(dto); }
public void ThreadStopped(int threadId, ThreadStopReason reason) { var dto = RpcCall.Create(nameof(IDebugEventListener), nameof(ThreadStopped), threadId, reason); _channel.Write(dto); }