Overview
| Artifact ID: | 17c8a9dc1f56899c774576ae2049368101ffdf45 |
|---|---|
| Ticket: | 760947ffffffffffffffffffffffffffffffffff
trace on command leave changes errorInfo/errorCode |
| User & Date: | dgp on 2003-10-09 03:58:33 |
Changes
- icomment:
Logged In: YES user_id=80530 seems it's even worse that that. While execution traces are handled completely within TclEvalObjvInternal(), the management of errorCode and errorInfo is all over the place, so simple attempt to fix this do not even work. The real culprit may be the Tcl_ResetResult() embedded inside the execution of the leave traces, which cause the errorInfo and errorCode machinery to get reset, upsetting the expectations of the [error] command, which wants Tcl_LogCommandInfo to respect the ERR_ALREADY_LOGGED and ERROR_CODE_SET flags that it set.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"