docs(error-handling): trace locations come from embedded Frame metadata, not DWARF (A9.2)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user