Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6e999e85b520bf139ac0d91ccf82d538dd02e957
Ticket: 582506ffffffffffffffffffffffffffffffffff
imported cmds do not fire exec traces
User & Date: dgp on 2002-07-16 21:28:05
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    % info patch
    8.4b2
    % namespace eval export {
            namespace export foo
            proc foo {} {}
    }
    % trace add execution export::foo enter {puts FOO ;# }
    % namespace eval import namespace import ::export::foo
    % export::foo
    FOO
    % import::foo
    %
    
    The problem arises apparently because
    InvokeImportedCmd() directly runs the
    command procedure, rather than calling
    on TclEvalObjvInternal() where the
    execution tracing is handled.
    
    If TclEvalObjvInternal() has become the
    one central place where command
    evaluation occurs, then imported
    commands should go through there as well.
    
  4. foundin changed to: "obsolete: 8.4b2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "21. [namespace]"
  10. title changed to: "imported cmds do not fire exec traces"
  11. type changed to: "Bug"