Skip to content

Commit 59898c8

Browse files
claudeCyberShadow
authored andcommitted
flake.nix: Preserve debug symbols in btduDebug build
Add dontStrip = true to the debug build configuration so that stack traces show source file names and line numbers instead of just addresses. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 9f127d6 commit 59898c8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

flake.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@
6868
# Use custom "checked" build type defined in dub.sdl
6969
# This enables debugMode and passes -d-debug=check to enable debug(check) blocks
7070
dubBuildType = "checked";
71+
# Don't strip so we get readable stack traces
72+
dontStrip = true;
7173
});
7274

7375
# Unit tests derivation

0 commit comments

Comments
 (0)