Exemplo n.º 1
0
        public void SendReply(DAPRequest request, IDAPMessagePayload response)
        {
            var reply = new DAPResponse
            {
                type        = "response",
                request_seq = request.seq,
                success     = true,
                command     = request.command,
                body        = response
            };

            Send(reply);
        }
Exemplo n.º 2
0
        public void SendReply(DAPRequest request, string errorText)
        {
            var reply = new DAPResponse
            {
                type        = "response",
                request_seq = request.seq,
                success     = false,
                command     = request.command,
                message     = errorText
            };

            Send(reply);
        }
Exemplo n.º 3
0
        private void SendErrorReply(int requestSeq, string command, string errorText)
        {
            var reply = new DAPResponse
            {
                type        = "response",
                request_seq = requestSeq,
                success     = false,
                command     = command,
                message     = errorText
            };

            Send(reply);
        }