add 'connect' command & feat: disconnect-action

This commit is contained in:
MihailRis 2025-10-09 01:04:08 +03:00
parent a33e3068c8
commit 1a7bcf9865
2 changed files with 19 additions and 1 deletions

View file

@ -83,11 +83,15 @@ namespace devtools {
void setClient(u64id_t client);
std::vector<DebuggingEvent> pullEvents();
void setDisconnectAction(const std::string& action);
private:
Engine& engine;
network::Server& server;
std::unique_ptr<ClientConnection> connection;
bool connectionEstablished = false;
std::vector<DebuggingEvent> breakpointEvents;
std::string disconnectAction = "resume";
bool performCommand(
const std::string& type, const dv::value& map