You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/platforms/godot/configuration/stack-traces.mdx
+14-8Lines changed: 14 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: "Learn how to get traces with line numbers and file paths in Sentry
5
5
6
6
[The official Godot Engine builds only provide templates without debug information files](https://github.com/godotengine/godot-proposals/issues/1342). This guide covers how to create such templates and use them to export your project with full debug information available in Sentry.
7
7
8
-
Debug information files allow Sentry to extract stack traces and provide additional information from crash reports. In order to get stack traces that contain function names, line numbers and file paths, Sentry needs to have these debug information files available when processing the crash dumps. For that, you need to export your Godot project using an export template that contains debug information.
8
+
Debug information files allow Sentry to extract stack traces and provide additional information from crash reports. In order to get stack traces that contain function names, line numbers and file paths, Sentry needs to have these debug information files available when processing the crash dumps. For that, you need to export your Godot project using an export template that contains debug information.
9
9
10
10
## Prerequisites
11
11
@@ -60,23 +60,29 @@ git checkout 4.4-stable
60
60
61
61
To compile the Godot release export template with debug symbols, run the following command:
-`platform`: target platform (e.g., "windows", "linux", or "macos")
70
74
-`target`: compilation target (e.g., "editor" or "template_release")
71
-
-`production`: sets build defaults for production use
72
-
-`debug_symbols`: includes debugging symbols in the build
73
-
-`separate_debug_symbols`: extracts symbols into a separate file
75
+
-`arch`: architecture to compile for (e.g., "x86_64" or "arm64")
76
+
-`production`: set build defaults for production use
77
+
-`debug_symbols`: include debugging symbols in the build
78
+
-`separate_debug_symbols`: extract symbols into a separate file
79
+
-`generate_bundle`: generate an APP bundle `godot_macos.zip` after building macOS binaries
74
80
75
81
For more information, run: `scons --help`
76
82
77
83
</Expandable>
78
84
79
-
If all goes well, the export template files should appear as the result of the build process in the `bin/` directory inside the Godot source tree. When using MSVC on Windows, you will find `.exe` files alongside `.pdb` files, which contain debug information.
85
+
If all goes well, the export template files should appear as the result of the build process in the `bin/` directory inside the Godot source tree. When using MSVC on Windows, you will find `.exe` files alongside `.pdb` files, which contain debug information. On macOS, you will find `godot_macos.zip` containing a universal binary supporting both x86_64 and ARM64 architectures and also two folders ending with `.dSYM` containing debug information bundles for each architecture.
0 commit comments