Skip to content
Tcl Source Code History Of Ticket 1755792
Login

History Of Ticket 1755792

Artifacts Associated With Ticket 1755792

  1. Ticket change [213a82094a] (rid 130545) by israelt on 2007-07-17 23:29:08:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      During the execution of a user / registered command I need to report about an issue (which is not an error) and provide the script file name and line number if the command is inside a script file. The Tcl_Interp errorLine member variable is updated only if the command returns TCL_ERROR code, otherwise I can't see any way to find out the current line number.
       
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "israelt"
    10. subsystem initialized to: "45. Parsing and Eval"
    11. title initialized to:
      get current line number during source command execution
      
    12. type initialized to: "RFE"
  2. Ticket change [bae9e6b973] (rid 129394) by andreas_kupries on 2007-07-18 06:39:38:

    1. icomment:
      Logged In: YES 
      user_id=75003
      Originator: NO
      
      Is TIP #280 (http://tip.tcl.tk/280) what you are after ?
      
      If yes, then you have this in Tcl 8.5, and in Activestate's ActiveTcl 8.4.
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  3. Ticket change [b9289d865d] (rid 129089) by israelt on 2007-07-18 07:09:26:

    1. icomment:
      Logged In: YES 
      user_id=377302
      Originator: YES
      
      Thanks Andreas. Yes, this is what I need, but I need to get the line number information from C. I guess I will be able to get this after looking at the Tcl source code... We are still using Tcl 8.4 so looks like we need to use Tcl 8.5 in order to access this functionality. 
      
      
    2. login: "israelt"
    3. mimetype: "text/plain"
    4. username: "israelt"
  4. Ticket change [b0347b65ad] (rid 97945) by andreas_kupries on 2007-07-18 07:11:54:

    1. icomment:
      Logged In: YES 
      user_id=75003
      Originator: NO
      
      Tcl_Eval ("info frame") and similar code.
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  5. Ticket change [68d236427e] (rid 103133) by israelt on 2007-07-18 22:53:15:

    1. icomment:
      Logged In: YES 
      user_id=377302
      Originator: YES
      
      Looks like this is available in 8.5, but a C API to get this info would be nice to have.
      
      
    2. login: "israelt"
    3. mimetype: "text/plain"
    4. resolution changed to: "Fixed"
    5. username: "israelt"
  6. Ticket change [0767b0a04d] (rid 89392) by israelt on 2007-07-18 22:55:45:

    1. closedate changed to: "2007-07-18T15:55:45"
    2. closer changed to: "israelt"
    3. icomment:
      Logged In: YES 
      user_id=377302
      Originator: YES
      
      Close this issue.
      
      
    4. login: "israelt"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "israelt"