Overview
| Artifact ID: | c29d6162a05f7b0d21e5948b9233bc8551be9208c8ee4c123feec25ce25795fb |
|---|---|
| Ticket: | 008773b7a3cdd530a184b2e8902d0679e246de74
how to log Tcl commands that are executed via the source command using the Tcl C API |
| User & Date: | arvind29 on 2025-07-24 08:56:18 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-plain"
- comment changed to:
During the execution of a user command I need to report 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 command, line number and file name.
- foundin changed to: "8.6.8"
- is_private changed to: "0"
- login: "arvind29"
- priority changed to: "5 Medium"
- private_contact changed to: "24b6332679e5f96732dab3b9d46f1f0d512b2551"
- resolution changed to: "None"
- severity changed to: "Critical"
- status changed to: "Open"
- submitter changed to: "arvind29"
- subsystem changed to: "45. Parsing and Eval"
- title changed to:
how to log Tcl commands that are executed via the source command using the Tcl C API
- type changed to: "Support"