summaryrefslogtreecommitdiffstats
path: root/core/debugger/remote_debugger.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add const lvalue ref to core/* container parametersMuller-Castro2024-02-141-1/+1
|
* Allow Ref `instantiate` to accept constructor argsThaddeus Crews2024-02-101-1/+1
|
* Replace error checks against `size` with `is_empty`A Thousand Ships2024-02-091-3/+3
|
* Merge pull request #86676 from rune-scape/sparse-script-reloadYuri Sizov2024-01-171-6/+25
|\ | | | | | | GDScript: Hot-reload changed scripts only
| * Hot-reload only changed scriptsrune-scape2024-01-021-6/+25
| |
* | fix deadlock in RemoteDebugger::debugACB2024-01-141-2/+0
|/
* [Core] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-111-2/+2
|
* Support threads in the script debuggerJuan Linietsky2023-07-261-19/+90
| | | | | | | | | | * 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.
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* [MP] Move engine and editor profilers to a plugin.Fabio Alessandrelli2022-11-141-87/+0
| | | | Also refactor the editor plugin out of the ReplicationEditor.
* Fix editor re-focus on debugger break on WindowsPedro J. Estébanez2022-07-211-0/+3
|
* Fixing Print_rich which only displays correctly in terminalVoylin2022-07-011-0/+8
| | | There was an issue that the type was not passed through correctly. These couple of lines fix this issue and make print_rich work as expected.
* Adding print_rich for printing with BBCodeVoylin2022-06-291-2/+8
|
* Rename profiler "Idle Time" to "Process Time"Hugo Locurcio2022-05-051-2/+2
| | | | | References to "idle time" are progressively being replaced by "process time" throughout the engine to avoid confusion.
* Fix more issues found by cppcheck.bruvzg2022-04-201-1/+1
|
* Fix some issues found by cppcheck.bruvzg2022-04-061-5/+6
|
* [Debugger] Move servers-related behaviours to ServersDebugger.Fabio Alessandrelli2022-02-061-12/+0
| | | | | | | | | Forcing draw during debug break is now handled by ServersDebugger, and only happens when the proper message is sent from the EditorDebugger ("servers:draw"). In a similar way, briging the window in foreground is now also handled by ServersDebugger upon receiving "servers:foreground" which is sent by the EditorDebugger when resuming from a break ("continue").
* [Debugger] Move most profilers to ServersDebugger.Fabio Alessandrelli2022-02-061-319/+23
| | | | | Also splits bandwidth/rpc profiler (RPCProfiler is now in SceneDebugger).
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* Fix incorrect encoding (Latin-1 instead of UTF-8) used in `_error_handler` ↵bruvzg2021-11-081-1/+1
| | | | functions.
* Save all 64 bits of get_ticks_msec() in more casesMax Hilbrunner2021-10-261-2/+2
|
* Implement toast notifications in the editorGilles Roudière2021-10-141-3/+3
|
* Use range iterators for `Map`Lightning_A2021-09-301-2/+2
|
* Use doubles for time in many other placesAaron Franke2021-08-091-9/+9
|
* Merge pull request #50454 from Ev1lbl0w/gsoc21-dapFabio Alessandrelli2021-08-031-2/+5
|\ | | | | Implemented initial DAP support
| * Implemented initial DAP supportEv1lbl0w2021-08-021-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implemented "output" event Refactored "seq" field generation Prevent debugging when editor and client are in different projects Removed unneeded references to peer on the parser Refactored way to detect project path Implemented "setBreakpoints" request Fix double events when terminating from client Refactored "stopped" event Implemented "stopped" with breakpoint event Implemented "stackTrace", "scopes" and "variables" request Report incoming number of stack dump variables Implemented proper reporting of scopes and variables from stack frames Prevent editor from grabbing focus when a DAP session is active Implemented "next" and "stepIn" requests Implemented "Source" checksum computing Switched expected errors from macros to silent guards Refactored message_id Respect client settings regarding lines/columns behavior Refactored nested DAP fields Implement reporting of "Members" and "Globals" scopes as well Fix error messages not being shown, and improved wrong path message
* | Use const references where possible for List range iteratorsRémi Verschelde2021-07-251-1/+1
| |
* | Use C++ iterators for Lists in many situationsAaron Franke2021-07-231-7/+7
|/
* RemoteDebugger: Fix possible division by zeroRémi Verschelde2021-03-041-0/+1
|
* Update copyright statements to 2021Rémi Verschelde2021-01-011-2/+2
| | | | | | | | | | | | | | Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
* Merge pull request #44593 from madmiraal/rename-mainloop-methodsRémi Verschelde2020-12-281-1/+1
|\ | | | | Rename MainLoop methods to match Node methods
| * Rename MainLoop methods to match Node methodsMarcel Admiraal2020-12-221-1/+1
| |
* | Rename empty() to is_empty()Marcel Admiraal2020-12-281-2/+2
|/
* Reorganized core/ directory, it was too fatty alreadyreduz2020-11-071-2/+2
| | | | | | -Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
* Added Custom Performance Monitor and feature to read intermediate values of ↵simpu2020-06-291-1/+21
| | | | | | | | | | | | | | | | Monitor Custom monitors can be added/removed/checked using `Performance.add_custom_monitor`/`Performance.remove_custom_monitor`/`Performance.has_custom_monitor` The value can be viewed in the `Monitor` tab of Debugger. Text before `/` is used to categorize the custom monitor. `EditorPerformanceProfiler` class is created to separate logic from `ScriptEditorDebugger` User can click on the graph of monitors to read the value at that point. Graph includes intermediate base lines.
* Style: Enforce braces around if blocks and loopsRémi Verschelde2020-05-141-29/+55
| | | | | Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
* Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-141-16/+0
| | | | | | | | | | | | | | Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
* Add support for multiple RemoteDebuggerPeer(s).Fabio Alessandrelli2020-05-121-7/+3
| | | | | It is now possible to register protocol handlers (default tcp://) to support additional debugging communication layers (e.g. websocket).
* Merge pull request #38522 from ThakeeNathees/printing-empty-string-fixRémi Verschelde2020-05-071-1/+1
|\ | | | | Fix: printing empty string does nothing in editor output pannel
| * Fix: printing empty string does nothing in editor output pannelThakee Nathees2020-05-071-1/+1
| | | | | | | | Fix: #38490
* | Format remote printerr properly in script debugger outputPouleyKetchoupp2020-05-011-5/+28
|/
* Rename InputFilter back to InputRémi Verschelde2020-04-281-6/+6
| | | | | | | | | | | | | | | | It changed name as part of the DisplayServer and input refactoring in #37317, with the rationale that input no longer goes through the main loop, so the previous Input singleton now only does filtering. But the gains in consistency are quite limited in the renaming, and it breaks compatibility for all scripts and tutorials that access the Input singleton via the scripting language. A temporary option was suggested to keep the scripting singleton named `Input` even if its type is `InputFilter`, but that adds inconsistency and breaks C#. Fixes godotengine/godot-proposals#639. Fixes #37319. Fixes #37690.
* Merge pull request #37450 from SkyLucilfer/profilerBugRémi Verschelde2020-04-101-1/+1
|\ | | | | Fix profiler frame number stops updating when window is minimized
| * Fix profiler frame number stops updating when window is minimizedSkyJJ2020-03-311-1/+1
| |
* | Replace NULL with nullptrlupoDharkael2020-04-021-2/+2
|/
* Renaming of servers for coherency.Juan Linietsky2020-03-271-9/+9
| | | | | | | | | | VisualServer -> RenderingServer PhysicsServer -> PhysicsServer3D Physics2DServer -> PhysicsServer2D NavigationServer -> NavigationServer3D Navigation2DServer -> NavigationServer2D Also renamed corresponding files.
* Refactored input, goes all via windows now.Juan Linietsky2020-03-261-6/+6
| | | | Also renamed Input to InputFilter because all it does is filter events.
* Effective DisplayServer separation, rename X11 -> LinuxBSDJuan Linietsky2020-03-261-1/+2
|
* Refactored Input, create DisplayServer and DisplayServerX11Juan Linietsky2020-03-261-1/+1
|
* Fix various typosluz.paz2020-03-111-1/+1
| | | Found via `codespell`