mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Document how to add breakpoints in the editor and using breakpoint
Until now, there was little documentation on how to create breakpoints (including persistent ones with the `breakpoint` keyword). This may not be obvious to those who haven't used other IDEs before. This also documents' breakpoints persistent behavior since the editor state is saved.
This commit is contained in:
@@ -199,7 +199,8 @@ in case you want to take a look under the hood.
|
||||
+------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| var | Defines a variable. |
|
||||
+------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| breakpoint | Editor helper for debugger breakpoints. |
|
||||
| breakpoint | Editor helper for debugger breakpoints. Unlike breakpoints created by clicking in the gutter, ``breakpoint`` is stored in the script itself. |
|
||||
| | This makes it persistent across different machines when using version control. |
|
||||
+------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| preload | Preloads a class or variable. See `Classes as resources`_. |
|
||||
+------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
|
||||
Reference in New Issue
Block a user