summaryrefslogtreecommitdiffstats
path: root/editor/debugger
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #87293 from YuriSizov/editor-theme-a-rehashed-follow-upRémi Verschelde2024-01-181-2/+2
|\ \ | | | | | | | | | Improve editor theme generation after the refactor
| * | Improve editor theme generation after the refactorYuri Sizov2024-01-171-2/+2
| | |
* | | Merge pull request #86676 from rune-scape/sparse-script-reloadYuri Sizov2024-01-174-6/+18
|\ \ \ | |/ / |/| | | | | GDScript: Hot-reload changed scripts only
| * | Hot-reload only changed scriptsrune-scape2024-01-024-6/+18
| |/
* | Reorganize code related to editor themingYuri Sizov2024-01-164-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | This change introduces a new EditorThemeManager class to abstract theme generatio and its subroutines. Logic related to EditorTheme, EditorColorMap, and editor icons has been extracted into their respective files with includes cleaned up. All related files have been moved to a separate folder to better scope them in the project. This includes relevant generated files as well.
* | Update deferred calls to use Callableskobewi2024-01-092-2/+2
| |
* | Merge pull request #84895 from rsubtil/fix_dap_race_conditionRémi Verschelde2024-01-094-3/+28
|\ \ | | | | | | | | | Prevent race condition on initial breakpoints from DAP
| * | Prevent race condition on initial breakpoints from DAPRicardo Subtil2023-11-144-3/+28
| | |
* | | Merge pull request #84445 from Rubonnek/add-const-references-clang-tidyRémi Verschelde2024-01-041-1/+1
|\ \ \ | |_|/ |/| | | | | Add const references detected by clang-tidy
| * | Add const references detected by clang-tidyWilson E. Alvarez2023-12-161-1/+1
| |/
* / Fix missing time for some script functions in profilermsreis2023-12-193-0/+26
|/ | | | | | | | | Fixes the issue by adding a mechanism by which the functions that were previously disappearing can be profiled too. This is optional with an editor setting, since collecting more information naturally slows the engine further while profiling. Fixes #23715, #40251, #29049
* Merge pull request #82868 from SaracenOne/multi_session_debugger_fixesRémi Verschelde2023-10-162-6/+62
|\ | | | | | | Fix debugger behaviour with multi-session debugging
| * Fix debugger behaviour with multi-session debugging:Saracen2023-10-062-6/+62
| | | | | | | | | | | | Fixes script editor debug menu on sessions other than 1 Fixes breakpoint toggle from menu in sessions other than 1 Removes execution display when switching to non-breaked sessions
* | Fix right-click menu position for the debugger breakpoint tree.Saracen2023-10-061-1/+1
|/
* Replace flat buttons with flat-styled buttons with a visible pressed stateYuri Sizov2023-09-191-8/+8
|
* [Editor] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-153-6/+6
|
* Fix accessing editor theme items throughout the UIYuri Sizov2023-09-151-6/+6
| | | | This also exposes `EditorInterface::get_editor_theme`.
* Extract ScriptInstance to simplify includesYuri Sizov2023-09-062-0/+2
| | | | | | | | | This allows to include script_instance.h directly in the generated gdvirtual.gen.inc, and remove excessive includes from the codebase. This should also allow Resource to use GDVIRTUAL macros, which wasn't possible previously due to a circular dependency.
* Add EditorStringNames singletonkobewi2023-09-036-72/+77
|
* Avoid unnecessary inspector updates when loading or switching scenesYuri Sizov2023-08-121-3/+3
| | | | | | This should result in some noticeable performance improvements, aside from fixing bugs due to conflicts in logic. This also simplifies some related code identified while debugging.
* Avoid retrieving the object ID of a Nil variableChia-Hsiang Cheng2023-08-041-1/+1
|
* Merge pull request #79280 from raulsntos/dotnet/better-push-errorRémi Verschelde2023-08-031-3/+9
|\ | | | | | | C#: Improve `GD.PushError` and `GD.PushWarning`
| * C#: Improve `GD.PushError` and `GD.PushWarning`Raul Santos2023-07-111-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use the name, file path and line number of the caller that invokes `GD.PushError` and `GD.PushWarning` instead of the location in the C++ `runtime_interop.cpp` file. - Improvements to getting the C# stack trace. - Use C# type keywords for built-in types in method declarations. - Remove extra space before each parameter in method declarations. - Skip one more frame to avoid `NativeInterop.NativeFuncs`. - Skip methods annotated with the `[StackTraceHidden]` attribute. - Improvements to `ScriptEditorDebugger` when source is in project. - Avoid overriding error metadata when the source is inside the project file. - Use the source function in the title when the source is inside the project file. Users that use these methods would expect the reported location printed by these methods to correspond to a location in their project source files. Specifically, they'd expect to see the file path and line number at which they call these methods, and not the location of the C++ code (which is always the same). Now, these methods are a lot more useful since users can know which line in their source code printed the error/warning.
* | Support threads in the script debuggerJuan Linietsky2023-07-263-77/+169
| | | | | | | | | | | | | | | | | | | | * This implementation adds threads on the side of the client (script debugger). * Some functions of the debugger are optimized. * The profile is also now thread safe using atomics. * The editor can switch between multiple threads when debugging. This PR adds threaded support for the script language debugger. Every thread has its own thread local data and it will connect to the debugger using multiple thread IDs. This means that, now, the editor can receive multiple threads entering debug mode at the same time.
* | Extract and reorganize texture resource classesHendrik Brucker2023-07-144-0/+6
|/
* Merge pull request #75200 from ↵Rémi Verschelde2023-06-192-5/+3
|\ | | | | | | | | | | Calinou/debugger-editor-settings-add-property-hints Add property hints for debugger/profiler editor settings
| * Add property hints for debugger/profiler editor settingsHugo Locurcio2023-03-222-5/+3
| | | | | | | | This also adds descriptions for those settings.
* | Merge pull request #75836 from rsubtil/bugfix-dap_windows_pathFabio Alessandrelli2023-06-192-0/+12
|\ \ | | | | | | Fix DAP path mismatch on Windows
| * | Fix DAP path mismatch on WindowsRicardo Subtil2023-04-082-0/+12
| | |
* | | i18n: Sync translations with Weblate (now tracking 4.1 strings)Rémi Verschelde2023-06-121-2/+2
| | |
* | | Changed error tree initialization to allow reselectionsamar-012023-06-101-0/+1
| | |
* | | Fix profilers' GUI treesVolTer2023-06-032-6/+6
| | |
* | | Rename the Debugger's stack debug section to Stack TraceAaron Franke2023-05-111-1/+1
| | |
* | | Improve editor state persistenceHendrik Brucker2023-05-112-0/+10
| | |
* | | CI: Use gh-cli for changed files, and workaround codespell skip list bugRémi Verschelde2023-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | For PRs, this should give a more accurate list, as the previous method would diff to the tip of the `master` branch, which could include new commits (and thus changed files) not present in the PR branch. codespell's `--skip` option doesn't work at all with folders when used together with an explicit list of paths to work with, so let's not use it.
* | | Redo how the remote filesystem worksJuan Linietsky2023-05-082-259/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of reading files over the network, the new version uses a local file cache and only updates files when it changes. The original remote filesystem was created 14 years ago, when ethernet was faster than hard drives or even flash. Also, mobile devices have a very small amount of storage. Nowadays, this is no longer the case so the approach is changed to using a persistent cache in the target device. Co-authored-by: m4gr3d
* | | Extract editor run toolbar into its own componentYuri Sizov2023-04-193-20/+19
| | | | | | | | | | | | | | | | | | | | | | | | - Simplify and update its logic. - Simplify EditorScript. - Improve EditorNode and other relevant includes. - Fix scene-based path in the movie writer when reloading a scene.
* | | Fix misuses of error macrosDanil Alexeev2023-04-181-1/+1
| | |
* | | Merge pull request #75765 from YuriSizov/editor-node-optimize-includesRémi Verschelde2023-04-114-2/+408
|\ \ \ | | | | | | | | | | | | Improve includes of `EditorNode` (and everything else)
| * | | Improve includes of EditorNode (and everything else)Yuri Sizov2023-04-074-2/+408
| |/ / | | | | | | | | | | | | | | | Also start organizing editor-specific GUI components into a dedicated folder, `editor/gui`. Also move `editor_file_server` next to the rest of debugger classes.
* / / Poll LSP/DAP clients for connection status updatesRicardo Subtil2023-04-091-0/+1
|/ /
* | Fix premature theme item access in editor toolsYuri Sizov2023-04-032-1/+16
| |
* | Refresh filesystem when saving remote branchkobewi2023-03-241-0/+7
|/
* Make sure Script Debugger is updated with the editor themeYuri Sizov2023-03-101-20/+28
|
* Improvements and fixes based on Weblate commentsHaoyu Qiu2023-02-131-0/+2
| | | | | | | | | | | | | | | | | | | * Description of `ui_text_submit` action should be "Submit Text" instead of "Text Submitted". * Spell out "Animation" instead of using "Anim.". * Treat "Max" as regular word instead of writing "Max.". * Use generic "Set %s" for action name instead of a dedicated "Set target_position". * Add translator comment for: * "Inclusive" and "Self" in the profiler. * Places where it needs the context about being an editor progress label. * "Duplicated Animation Name" since it's refering to the new name of a duplicated animation. * Disambiguation of "View Plane Transform", "Paste Selects" and "Display Normal". * Fix wrong undo action name for renaming an input action. * Fix missing end quote in a shader error message. * In class reference: * Fix duplicated "if" in the description of `signf()`. * Fix mismatched example output in `String.operator %()`. * Fix typo in the description of `Decal.texture_emission`. * Unify description of `String.match()` and `StringName.match()`.
* Pace debugger draw requestsPedro J. Estébanez2023-02-072-1/+6
|
* Restore missing info in the error tooltipsPaul Joannon2023-01-281-2/+2
|
* Better error display in debugger panelPaul Joannon2023-01-272-7/+33
| | | | | | - Use the right stack frame info as title of the error. - Use the actual C# exception type as error for exceptions raised from C#. - Show the right language instead of always **C++ Error**.
* Add EditorUndoRedoManager singletonkobewi2023-01-161-1/+1
|
* Move remote debug buttons to a single menu.bruvzg2023-01-141-1/+1
|