From a7ddbeb85b23f4386f6055fa742fa9ea411f3ffe Mon Sep 17 00:00:00 2001 From: agra Date: Wed, 3 Jun 2026 15:02:09 +0300 Subject: [PATCH] docs(error-handling): trace locations come from embedded Frame metadata, not DWARF (A9.2) --- docs/error-handling.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/error-handling.md b/docs/error-handling.md index 251eb82..c746801 100644 --- a/docs/error-handling.md +++ b/docs/error-handling.md @@ -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