Skip to content

Commit 346cf9f

Browse files
author
kr-2003
committed
attach_request
1 parent d7c0df2 commit 346cf9f

File tree

6 files changed

+319
-240
lines changed

6 files changed

+319
-240
lines changed

include/xeus-cpp/xdebugger.hpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,18 @@ namespace xcpp
5757
xeus::xdebugger_info get_debugger_info() const override;
5858
std::string get_cell_temporary_file(const std::string& code) const override;
5959

60+
bool connect_to_lldb_tcp();
61+
std::string send_dap_message(const nl::json& message);
62+
std::string receive_dap_response();
63+
6064
xdebuglldb_client* p_debuglldb_client;
6165
std::string m_lldb_host;
6266
std::string m_lldb_port;
67+
std::string m_lldbdap_port;
6368
nl::json m_debugger_config;
6469
bool m_is_running;
70+
int m_tcp_socket;
71+
bool m_tcp_connected;
6572
};
6673

6774
XEUS_CPP_API

include/xeus-cpp/xinterpreter.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ namespace xcpp
6262

6363
void shutdown_request_impl() override;
6464

65+
nl::json internal_request_impl(const nl::json& content) override;
66+
6567
nl::json get_error_reply(
6668
const std::string& ename,
6769
const std::string& evalue,

0 commit comments

Comments
 (0)