Artifacts Associated With Ticket 1755792fffffffffffffffffffffffffffffffff
Ticket change [213a82094a] (rid 130545) by israelt on 2007-07-17 23:29:08:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- 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.
- foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "israelt"
- subsystem initialized to: "45. Parsing and Eval"
- title initialized to:
get current line number during source command execution
- type initialized to: "RFE"
Ticket change [bae9e6b973] (rid 129394) by andreas_kupries on 2007-07-18 06:39:38:
- 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.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [b9289d865d] (rid 129089) by israelt on 2007-07-18 07:09:26:
- 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.
- login: "israelt"
- mimetype: "text/plain"
- username: "israelt"
- icomment:
Ticket change [b0347b65ad] (rid 97945) by andreas_kupries on 2007-07-18 07:11:54:
- icomment:
Logged In: YES user_id=75003 Originator: NO Tcl_Eval ("info frame") and similar code. - login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [68d236427e] (rid 103133) by israelt on 2007-07-18 22:53:15:
- 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.
- login: "israelt"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- username: "israelt"
- icomment:
Ticket change [0767b0a04d] (rid 89392) by israelt on 2007-07-18 22:55:45:
- closedate changed to: "2007-07-18T15:55:45"
- closer changed to: "israelt"
- icomment:
Logged In: YES user_id=377302 Originator: YES Close this issue.
- login: "israelt"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "israelt"