From 9dd7a8ae420db31ce95614f2abc344822b0c07ca Mon Sep 17 00:00:00 2001 From: Ricardo Subtil Date: Thu, 3 Oct 2024 21:28:25 +0100 Subject: [PATCH] Bump DAP requests timeout to 5 seconds --- editor/debugger/debug_adapter/debug_adapter_parser.cpp | 1 - editor/debugger/debug_adapter/debug_adapter_protocol.h | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/editor/debugger/debug_adapter/debug_adapter_parser.cpp b/editor/debugger/debug_adapter/debug_adapter_parser.cpp index 1dbb2c708468..2af629676ab2 100644 --- a/editor/debugger/debug_adapter/debug_adapter_parser.cpp +++ b/editor/debugger/debug_adapter/debug_adapter_parser.cpp @@ -30,7 +30,6 @@ #include "debug_adapter_parser.h" -#include "core/variant/variant.h" #include "editor/debugger/debug_adapter/debug_adapter_types.h" #include "editor/debugger/editor_debugger_node.h" #include "editor/debugger/script_editor_debugger.h" diff --git a/editor/debugger/debug_adapter/debug_adapter_protocol.h b/editor/debugger/debug_adapter/debug_adapter_protocol.h index 81e6205feef6..1d1e18385040 100644 --- a/editor/debugger/debug_adapter/debug_adapter_protocol.h +++ b/editor/debugger/debug_adapter/debug_adapter_protocol.h @@ -35,7 +35,6 @@ #include "core/io/stream_peer_tcp.h" #include "core/io/tcp_server.h" -#include "core/object/object_id.h" #include "debug_adapter_parser.h" #include "debug_adapter_types.h" #include "scene/debugger/scene_debugger.h" @@ -117,7 +116,7 @@ class DebugAdapterProtocol : public Object { bool _processing_stackdump = false; int _remaining_vars = 0; int _current_frame = 0; - uint64_t _request_timeout = 1000; + uint64_t _request_timeout = 5000; bool _sync_breakpoints = false; String _current_request;