Artifacts Associated With Ticket fc88534d38
Ticket change [077e6bde02] (rid 177454) by anonymous on 2019-11-29 08:55:31:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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 - foundin initialized to: "8.6.9"
- is_private initialized to: "0"
- login: "anonymous"
- priority initialized to: "5 Medium"
- private_contact initialized to: "04630baaac0666a65752efed686b7194255f22a1"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "anonymous"
- subsystem initialized to: "46. Traces"
- title initialized to: "duplicate trace with namespace exported proc"
- type initialized to: "Bug"
Ticket change [dc56b58c85] (rid 258398) by serhiy.storchaka on 2026-10-17 06:37:55:
- foundin changed to: "8.6.18, 9.0.5, 9.1.0"
- 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.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"