docs(error-handling): trace locations come from embedded Frame metadata, not DWARF (A9.2)

This commit is contained in:
agra
2026-06-03 15:02:09 +03:00
parent e5d9d1fec1
commit a7ddbeb85b

View File

@@ -326,7 +326,9 @@ error trace:
Traces are on by default in debug builds and compiled out in release
(re-enable with `--release-traces`). They cost nothing on the success
path. Frame locations resolve through the binary's debug info, so
path. Each frame's location comes from `Frame` metadata
(file/line/col/func) baked in at the trace point — the trace resolves
itself with no debug info. Separately, sx emits standard DWARF, so
`lldb` / `gdb` work on sx binaries too.
Interpolating a tag with `{}` prints its **name**, not a number — in