Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9f36212cec842cef994ad39c6a732d4290551091
Ticket: 1695203fffffffffffffffffffffffffffffffff
[info frame] reports wrong line
User & Date: dgp on 2007-04-05 19:16:10
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    With this script:
    
    $ cat ~/tip280.tcl
    puts "this
    is
    [info frame 0]
    a test"
    
    I see the [info frame] command
    on line 3 of the script file.
    But running the script reports:
    
    $ ./tclsh ~/tip280.tcl
    this
    is
    type source line 1 file /home/dgp/tip280.tcl cmd {info frame 0} level 0
    a test
    
    Instead of reporting the line
    of the command, as documented,
    [info frame] is reporting the
    line on which the word containing
    the command begins.  Those are
    not always the same.
    
    
    
  4. foundin changed to: "obsolete: 8.5a6"
  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: "dgp"
  10. subsystem changed to: "45. Parsing and Eval"
  11. title changed to: "[info frame] reports wrong line"
  12. type changed to: "Bug"