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
+33-3Lines changed: 33 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,41 @@ description: "Learn how to get readable stack traces in Sentry with Sentry SDK f
5
5
6
6
Debug information files allow Sentry to extract stack traces and provide additional information about crash reports. In order to get readable stack traces in Sentry when your game crashes, you need to export your project using an export template that contains debug information. For the official builds, Godot Engine only provides templates without debug symbols. 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
-
To get debug information, we need to compile export templates with debug symbols produced. You'll need **SCons** build tool, Python, and a C++ compiler for your target platform installed.
8
+
## Prerequisites
9
9
10
-
<Alert>
10
+
To get debug information, we need to compile export templates with debug symbols produced. You'll need Git, SCons build tool, Python, and a C++ compiler for your target platform installed.
11
+
12
+
Ensure you have a compatible C++ compiler. On Windows, for instance, you can use [Visual Studio Community 2022](https://visualstudio.microsoft.com/) with the C++ workload installed.
13
+
14
+
Here are a few ways to install the **SCons** build tool:
15
+
16
+
```PowerShell {tabTitle:Windows}
17
+
# If you have `scoop` installed:
18
+
scoop install scons
19
+
```
20
+
21
+
```bash {tabTitle:macOS}
22
+
# If you have Homebrew installed:
23
+
brew install scons
24
+
```
11
25
12
-
On Windows, for instance, you can use [Visual Studio Community 2022](https://visualstudio.microsoft.com/) with the C++ workload installed.
26
+
```bash {tabTitle:Arch Linux}
27
+
pacman -S scons
28
+
```
29
+
30
+
```bash {tabTitle:Ubuntu/Debian}
31
+
sudo apt install scons
32
+
```
33
+
34
+
```bash {tabTitle:Using Python}
35
+
# Install with existing Python installation:
36
+
python -m pip install scons
37
+
38
+
# Upgrade:
39
+
python -m pip install --upgrade scons
40
+
```
41
+
42
+
<Alert>
13
43
14
44
For more information, refer to [Building from Source](https://docs.godotengine.org/en/stable/contributing/development/compiling/index.html) in the official Godot documentation. It provides detailed instructions for compiling Godot on different platforms and with different tools. This guide offers streamlined instructions tailored for our use case, and may omit some details you require.
0 commit comments