godot/editor/debugger
Raul Santos 13ab2b6f4f
C#: Improve GD.PushError and GD.PushWarning
- 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.
2023-07-11 11:19:11 +02:00
..
debug_adapter Merge pull request #75836 from rsubtil/bugfix-dap_windows_path 2023-06-19 16:38:19 +02:00
editor_debugger_inspector.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_debugger_inspector.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_debugger_node.cpp Merge pull request #75200 from Calinou/debugger-editor-settings-add-property-hints 2023-06-19 21:39:10 +02:00
editor_debugger_node.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_debugger_server.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_debugger_server.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_debugger_tree.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
editor_debugger_tree.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_file_server.cpp i18n: Sync translations with Weblate (now tracking 4.1 strings) 2023-06-12 14:57:08 +02:00
editor_file_server.h Redo how the remote filesystem works 2023-05-08 11:57:54 +02:00
editor_performance_profiler.cpp Fix premature theme item access in editor tools 2023-04-03 18:01:11 +02:00
editor_performance_profiler.h Fix premature theme item access in editor tools 2023-04-03 18:01:11 +02:00
editor_profiler.cpp Merge pull request #75200 from Calinou/debugger-editor-settings-add-property-hints 2023-06-19 21:39:10 +02:00
editor_profiler.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_visual_profiler.cpp Fix profilers' GUI trees 2023-06-03 11:47:59 +02:00
editor_visual_profiler.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
script_editor_debugger.cpp C#: Improve GD.PushError and GD.PushWarning 2023-07-11 11:19:11 +02:00
script_editor_debugger.h Improve editor state persistence 2023-05-11 04:17:03 +02:00
SCsub Implemented initial DAP support 2021-08-02 10:43:35 +01:00