Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 30c57132447deda685607c18d8d6c6ebdb2aa7f7
Ticket: 1545776fffffffffffffffffffffffffffffffff
Use full-qualified proc names in error traceback
User & Date: suchenwi on 2006-08-24 07:45:37
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    % namespace eval foo {}
    % proc foo::f x {expr {$x/0}}
    % proc foo::g x {f $x}
    % foo::g 42
    divide by zero
    % set errorInfo
    divide by zero
        while executing
    "expr {$x/0}"
        (procedure "f" line 1) <----------- HERE!
        invoked from within
    "f $x"
        (procedure "foo::g" line 1)
        invoked from within
    "foo::g 42"
    
    To make debugging easier, having fq names (foo::f in 
    the example) would be helpful.
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "suchenwi"
  10. subsystem changed to: "07. Variables"
  11. title changed to: "Use full-qualified proc names in error traceback"
  12. type changed to: "RFE"