Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b52a03a3b4c8e9e1aa82be396b394f188d995062d830fa8b7c47f86126a8e609
Ticket: 2811381fffffffffffffffffffffffffffffffff
unexpected 'result' in trace execution leave
User & Date: serhiy.storchaka on 2026-10-17 06:59:46
Changes

  1. foundin changed to: "8.6.18, 9.0.5, 9.1.0"
  2. icomment:
    8.4 passed the result of the traced command to every leave trace; since 8.5 TclCheckExecutionTraces() and TclCheckInterpTraces() restore the saved result only after the last trace, so each trace gets the result of the previous one. The documentation describes the 8.4 behaviour.
    Proposed fix in branch [/timeline?r=leave-trace-own-result|leave-trace-own-result]: restore the result after each trace. Test trace-40.2.
    
  3. login: "serhiy.storchaka"
  4. mimetype: "text/x-fossil-wiki"