Skip to content
Tcl Source Code View Ticket
Login

View Ticket

trace and vwait don't catch env() when set in another interp

Closed / Invalid218201ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:54:26
OriginalBugID: 2443 Bug
Version: 8.2b1
SubmitDate: '1999-07-26'
LastModified: '1999-07-27'
Severity: LOW
Status: Closed
Submitter: techsupp
ChangedBy: redman
OS: Windows 95
Machine: X86
FixedDate: '2000-10-25'
ClosedDate: '1999-07-27'


Name:
Keith Lea

ReproducibleScript:
% interp create
    interp0
    % interp create
    interp1
    % interp0 eval {trace variable env w x;proc x args {puts interp0:$args}}
    % interp1 eval {set env(DaveG) 1}
    1
    % interp0 eval {set env(DaveG) 1}
    interp0:env DaveG w
    1
    %

ObservedBehavior:
in Tcl 7.6(p2), I could communicate between interpreters using env() and
    trace...but in tcl 8.2 (and 8.1), it doesn't catch it. it works fine in
    tcl 8.0.5 on solaris...I couldn't find a unix box with 8.1 or higher



This is correct behavior, see the documentation.
 
-- 07/27/1999 redman
welch Closed ticket [218201ffff]. [History diff]2000-10-26 08:16:56
dgp Ticket [218201ffff]: 4 changes [History diff]2001-04-18 21:37:38
Log in (anonymous is fine) to add a comment.