We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
seq
1 parent 53be3b7 commit 054934eCopy full SHA for 054934e
editor/debugger/debug_adapter/debug_adapter_protocol.cpp
@@ -851,6 +851,11 @@ bool DebugAdapterProtocol::process_message(const String &p_text) {
851
Dictionary params = json.get_data();
852
bool completed = true;
853
854
+ // While JSON does not distinguish floats and ints, "seq" is an integer by specification. See https://github.com/godotengine/godot/issues/108288
855
+ if (params.has("seq")) {
856
+ params["seq"] = (int)params["seq"];
857
+ }
858
+
859
if (OS::get_singleton()->get_ticks_msec() - _current_peer->timestamp > _request_timeout) {
860
Dictionary response = parser->prepare_error_response(params, DAP::ErrorType::TIMEOUT);
861
_current_peer->res_queue.push_front(response);
0 commit comments