Example #1
0
        public DebuggerClient(IDebuggerConnection connection) {
            Utilities.ArgumentNotNull("connection", connection);

            _connection = connection;
            _connection.OutputMessage += OnOutputMessage;
            _connection.ConnectionClosed += OnConnectionClosed;
        }
Example #2
0
        public DebuggerClient(IDebuggerConnection connection)
        {
            Utilities.ArgumentNotNull(nameof(connection), connection);

            this._connection = connection;
            this._connection.OutputMessage    += this.OnOutputMessage;
            this._connection.ConnectionClosed += this.OnConnectionClosed;
        }
        public DebuggerClient(IDebuggerConnection connection)
        {
            //Utilities.ArgumentNotNull("connection", connection);

            _connection = connection;
            _connection.OutputMessage    += OnOutputMessage;
            _connection.ConnectionClosed += OnConnectionClosed;
        }
        private NodeDebugger() {
            _connection = new DebuggerConnection(new NetworkClientFactory());
            _connection.ConnectionClosed += OnConnectionClosed;

            _client = new DebuggerClient(_connection);
            _client.BreakpointEvent += OnBreakpointEvent;
            _client.CompileScriptEvent += OnCompileScriptEvent;
            _client.ExceptionEvent += OnExceptionEvent;

            _resultFactory = new EvaluationResultFactory();
            _exceptionHandler = new ExceptionHandler();
            _sourceMapper = new SourceMapper();
            _fileNameMapper = new LocalFileNameMapper();
        }
Example #5
0
 public DebuggerClientMarionette(IDebuggerConnection connection)
 {
     _connection = connection;
     _connection.OutputMessage    += OnOutputMessage;
     _connection.ConnectionClosed += OnConnectionClosed;
 }
Example #6
0
 public NodeDebuggerClient(IDebuggerConnection connection)
 {
     _connection = connection;
     _connection.OutputMessage += OnOutputMessage;
 }