13ab2b6f4f
- 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. |
||
---|---|---|
.. | ||
debug_adapter | ||
editor_debugger_inspector.cpp | ||
editor_debugger_inspector.h | ||
editor_debugger_node.cpp | ||
editor_debugger_node.h | ||
editor_debugger_server.cpp | ||
editor_debugger_server.h | ||
editor_debugger_tree.cpp | ||
editor_debugger_tree.h | ||
editor_file_server.cpp | ||
editor_file_server.h | ||
editor_performance_profiler.cpp | ||
editor_performance_profiler.h | ||
editor_profiler.cpp | ||
editor_profiler.h | ||
editor_visual_profiler.cpp | ||
editor_visual_profiler.h | ||
script_editor_debugger.cpp | ||
script_editor_debugger.h | ||
SCsub |