summaryrefslogtreecommitdiffstats
path: root/platform/windows/export/export_plugin.cpp
diff options
context:
space:
mode:
authorRaul Santos <raulsntos@gmail.com>2023-07-09 23:25:20 +0200
committerRaul Santos <raulsntos@gmail.com>2023-07-11 11:19:11 +0200
commit13ab2b6f4f61dbfb4f90c6602f126c247d4c38c5 (patch)
treeea866407ff98adfdf01631ffff71403f7b759a14 /platform/windows/export/export_plugin.cpp
parent83cc5d4914a6bff76069ac19191192337e4df3de (diff)
downloadredot-engine-13ab2b6f4f61dbfb4f90c6602f126c247d4c38c5.tar.gz
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.
Diffstat (limited to 'platform/windows/export/export_plugin.cpp')
0 files changed, 0 insertions, 0 deletions