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
If you don't want to strip the binary, you should disable the `debug-images` integration of the SDK, as otherwise you will run into the issue documented [here](https://github.com/getsentry/sentry-rust/issues/470#issuecomment-1472136215) which could cause duplicated frames to appear in your Sentry issues.
29
+
### macOS
30
+
31
+
Use a profile like the following for your release builds:
32
+
```toml {filename:Cargo.toml}
33
+
[profile.release]
34
+
debug = true
35
+
split-debuginfo = "packed"
36
+
strip = true
37
+
```
38
+
39
+
Build the release binary, debug information will be available in separate files and stripped from the binary automatically:
40
+
```bash
41
+
cargo build --release
42
+
```
43
+
44
+
## Upload debug information and source files
28
45
29
46
Use Sentry CLI to upload debug information and source files:
30
47
31
48
```bash
32
49
sentry-cli debug-files upload --include-sources .
33
50
```
51
+
52
+
## Troubleshooting
53
+
54
+
If you don't want to strip the binary, you should disable the `debug-images` integration of the SDK, as otherwise you will run into the issue documented [here](https://github.com/getsentry/sentry-rust/issues/470#issuecomment-1472136215) which could cause duplicated frames to appear in your Sentry issues.
0 commit comments