Skip to content
Tcl Source Code History Of Ticket fc88534d38
Login

History Of Ticket fc88534d38

Artifacts Associated With Ticket fc88534d38

  1. Ticket change [077e6bde02] (rid 177454) by anonymous on 2019-11-29 08:55:31:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      In the following test case, the procedure test is always sent a duplicate trace if that proc was exported out of the namespace, vs. when called with the full name. 
      
      namespace eval Counter {
          namespace export test 
          proc test {} {
             return
          }
      }
      
      proc tracer {args} {
      	puts "tracer: `$args`"
      }
      
      proc main {args} {
      	test
      	puts ""
      	::Counter::test
      }
      
      namespace import Counter::test 
      
      trace add execution main enterstep tracer
      main
      
    5. foundin initialized to: "8.6.9"
    6. is_private initialized to: "0"
    7. login: "anonymous"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "04630baaac0666a65752efed686b7194255f22a1"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "anonymous"
    14. subsystem initialized to: "46. Traces"
    15. title initialized to: "duplicate trace with namespace exported proc"
    16. type initialized to: "Bug"
  2. Ticket change [dc56b58c85] (rid 258398) by serhiy.storchaka on 2026-10-17 06:37:55:

    1. foundin changed to: "8.6.18, 9.0.5, 9.1.0"
    2. icomment:
      Regression since 8.6 (8.5 traces the call once): InvokeImportedNRCmd() re-dispatches to the real command through TclNREvalObjv(), which runs the step and interpreter traces a second time.
      Proposed fix in branch [/timeline?r=imported-cmd-step-traces|imported-cmd-step-traces]: an internal flag skips the interpreter traces for that re-dispatch; execution traces on the real command still fire. Tests trace-41.1 and trace-41.2.
      
    3. login: "serhiy.storchaka"
    4. mimetype: "text/x-fossil-wiki"