Overview
| Artifact ID: | ea23b02d8ce5ccad0c81df3a79f38efb112255581181bd5a7e2a8c56860231fe |
|---|---|
| Ticket: | afa8c9f5bbde5127175f4a9f118106aed36f6773
Error in an execution trace reports line 1 and loses the traced command's frame in errorInfo |
| User & Date: | serhiy.storchaka on 2026-10-17 12:10:54 |
Changes
- icomment:
Proposed fix in branch [/timeline?r=trace-error-keep-frame|trace-error-keep-frame]: the trace code sets a new flag <tt>ERR_STACK_LOGGED</tt> instead of <tt>ERR_ALREADY_LOGGED</tt>, so <tt>TclLogCommandInfo()</tt> still adds the frame and line number to errorInfo and only skips the errorstack level (the doubled level of [010f4162ef] does not come back, error-4.8 passes). Tests trace-bug-afa8c9f5bb-1 and -2.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"