Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 077e6bde0200dbbcd131e96a84c36f4993513f164e54dcf050aa989281b39a4b
Ticket: fc88534d38e4136a22e58c8b7e8cd257773ae8ef
duplicate trace with namespace exported proc
User & Date: anonymous on 2019-11-29 08:55:31
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed 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 changed to: "8.6.9"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "04630baaac0666a65752efed686b7194255f22a1"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "anonymous"
  14. subsystem changed to: "46. Traces"
  15. title changed to: "duplicate trace with namespace exported proc"
  16. type changed to: "Bug"