| 134 | } |
| 135 | |
| 136 | void JSDebuggerConnection::sendMessageToFrontend(const Valdi::StringBox& message) { |
| 137 | for (const auto& client : _externHost.getConnectedClients()) { |
| 138 | auto debuggerConnection = std::dynamic_pointer_cast<DebuggerConnection>(client->getDataListener()); |
| 139 | if (debuggerConnection != nullptr) { |
| 140 | debuggerConnection->submitJson(message.toStringView()); |
| 141 | } |
| 142 | } |
| 143 | } |
| 144 | |
| 145 | void JSDebuggerConnection::setTargetList(const Valdi::StringBox& message) { |
| 146 | auto convertedValue = Valdi::jsonToValue(message.toStringView()); |
nothing calls this directly
no test coverage detected