Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e8046f0d805cb5fdf4116e789da1378b5d11a1cd
Ticket: 527164ffffffffffffffffffffffffffffffffff
::errorInfo lost in variable traces
User & Date: dgp on 2002-03-07 21:46:03
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    When an error occurs in a variable trace with
    message $msg, the operation on the variable returns
    an stack trace like:
    
    can't set "foo": $msg
        while executing
    set foo bar
    
    Unless all your error messages are unique, or you
    never put multiple traces on a variable (and never
    chain traces), that's not enough information to
    find the problem.  Debugging variable traces is
    thus much harder than it should be.
    
    I would rather the stack trace were like:
    
    $msg
    <rest of stack trace, formerly lost>
        (write trace on "foo")
        while executing
    set foo bar
    
    This can be done by not calling VarErrMsg when
    reporting errors in variable traces.
    
    Any reason not to make this change?
        
    
  4. foundin changed to: "obsolete: 8.4a5"
  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: "07. Variables"
  10. title changed to: "::errorInfo lost in variable traces"
  11. type changed to: "Bug"