| 625 | } |
| 626 | |
| 627 | Dictionary DebugAdapterParser::ev_output(const String &p_message, RemoteDebugger::MessageType p_type) const { |
| 628 | Dictionary event = prepare_base_event(), body; |
| 629 | event["event"] = "output"; |
| 630 | event["body"] = body; |
| 631 | |
| 632 | body["category"] = (p_type == RemoteDebugger::MessageType::MESSAGE_TYPE_ERROR) ? "stderr" : "stdout"; |
| 633 | body["output"] = p_message + "\r\n"; |
| 634 | |
| 635 | return event; |
| 636 | } |
| 637 | |
| 638 | Dictionary DebugAdapterParser::ev_breakpoint(const DAP::Breakpoint &p_breakpoint, const bool &p_enabled) const { |
| 639 | Dictionary event = prepare_base_event(), body; |