From b9268e8ee4feae1d23ca4aed3c0be90bb4c2e045 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 4 May 2023 12:57:05 +0200 Subject: [PATCH] Remove outdated notices about GDScript debugger not supporting threads This is now supported in Godot. --- tutorials/performance/cpu_optimization.rst | 4 +--- tutorials/scripting/debug/debugger_panel.rst | 8 -------- tutorials/scripting/debug/overview_of_debugging_tools.rst | 6 ------ 3 files changed, 1 insertion(+), 17 deletions(-) diff --git a/tutorials/performance/cpu_optimization.rst b/tutorials/performance/cpu_optimization.rst index e19ce130c17..287906db7b7 100644 --- a/tutorials/performance/cpu_optimization.rst +++ b/tutorials/performance/cpu_optimization.rst @@ -216,9 +216,7 @@ CPU core operates independently, they can end up trying to access the same memory at the same time. One thread can be reading to a variable while another is writing: this is called a *race condition*. Before you use threads, make sure you understand the dangers and how to try and prevent these race conditions. - -Threads can also make debugging considerably more difficult. The GDScript -debugger doesn't support setting up breakpoints in threads yet. +Threads can make debugging considerably more difficult. For more information on threads, see :ref:`doc_using_multiple_threads`. diff --git a/tutorials/scripting/debug/debugger_panel.rst b/tutorials/scripting/debug/debugger_panel.rst index 0d345c76f68..b71b473314a 100644 --- a/tutorials/scripting/debug/debugger_panel.rst +++ b/tutorials/scripting/debug/debugger_panel.rst @@ -48,14 +48,6 @@ You can use the buttons in the top-right corner to: - **Break**. This button pauses the game's execution. - **Continue**. This button resumes the game after a breakpoint or pause. - - -.. warning:: - - Breakpoints won't break on code if it's - :ref:`running in a thread `. - This is a current limitation of the GDScript debugger. - Errors ------ diff --git a/tutorials/scripting/debug/overview_of_debugging_tools.rst b/tutorials/scripting/debug/overview_of_debugging_tools.rst index cf0fc11660f..25718412089 100644 --- a/tutorials/scripting/debug/overview_of_debugging_tools.rst +++ b/tutorials/scripting/debug/overview_of_debugging_tools.rst @@ -111,12 +111,6 @@ When the debugger breaks on a breakpoint, a green triangle arrow is visible in the script editor's gutter. This arrow indicates the line of code the debugger broke on. -.. warning:: - - Breakpoints won't break on code if it's - :ref:`running in a thread `. - This is a current limitation of the GDScript debugger. - Debug project settings ----------------------