Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove outdated notices about GDScript debugger not supporting threads #7278

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove outdated notices about GDScript debugger not supporting threads
This is now supported in Godot.
  • Loading branch information
Calinou committed May 4, 2023
commit b9268e8ee4feae1d23ca4aed3c0be90bb4c2e045
4 changes: 1 addition & 3 deletions tutorials/performance/cpu_optimization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down
8 changes: 0 additions & 8 deletions tutorials/scripting/debug/debugger_panel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <doc_using_multiple_threads>`.
This is a current limitation of the GDScript debugger.

Errors
------

Expand Down
6 changes: 0 additions & 6 deletions tutorials/scripting/debug/overview_of_debugging_tools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <doc_using_multiple_threads>`.
This is a current limitation of the GDScript debugger.

Debug project settings
----------------------

Expand Down