Skip to content
Tcl Source Code Artifact [7ed42d931c]
Login

Artifact [7ed42d931c]

Artifact 7ed42d931c2c831b785485b27fdfdb7b265ad0aa:

Ticket change [7ed42d931c] - Ticket [1397843fffffffff|1397843fff] <i>write trace on ::errorInfo is broken</i> status still Open with 4 other changes by dgp on 2006-01-07 05:24:52.
D 2006-01-07T05:24:52
J icomment Logged\sIn:\sYES\s\nuser_id=80530\n\n\nYour\swrite\straces\son\s::errorInfo\nstill\swork\sin\sTcl\s8.5.\s\sThere's\nno\sfailure\sto\slive\sup\sto\sthat\ndocumentation\spromise.\s\sWhat\shas\nchanged\sis\sthe\stiming\sof\swhen\sthe\ncore\swrites\sto\sthe\s::errorInfo\svariable.\n\nThe\soverall\saim\sof\sthe\srefactor\swas\sto\sreduce\nthe\suse\sof\sglobal\svariables\sand\sencourage\suse\nof\sthe\sextended\s[catch]\sand\scorresponding\nTcl_GetReturnOptions()\sroutine\sin\sTcl\s8.5.\nThe\srefactoring\seffort\shere\swas\sreally\nintended\sto\spush\sglobal\svariables\n::errorInfo\sand\s::errorCode\sinto\s"legacy\nsupport"\sstatus.\n\nThanks\sfor\sthe\sadditional\sdetails\non\snotification\sneeds.\nIt\ssounds\slike\swhat\syou\sreally\sare\nlooking\sfor\sis\ssome\snotification\nfrom\seach\scall\sto\sTcl_LogCommandInfo().\nEach\sT_LCI()\scall\sadds\sone\s"level"\nto\sthe\s-errorinfo\sreturn\soption.\nthat\sis,\sto\sthe\sTcl\sstack\strace.\n\nPerhaps\swhat\swe\sreally\sneed\sis\sa\nnew\scallback\shook\sto\sprovide\syou\nthis\snotification\sas\spart\sof\sTcl's\nofficial\sinterface?\n\nI'm\salso\sstill\slooking\sinto\swhether\nwe\scan\sjust\sextend\sthe\s"legacy\ssupport"\nto\sinclude\sreverting\sto\sthe\sold\nscheme\sof\smultiple\sappends\sto\s::errorInfo\nwhen\sa\swrite\strace\sis\sin\splace.\s\sOur\nlimited\sintrospection\son\svariable\straces\nis\smaking\sthat\strickier\sthan\sexpected.\n
J login dgp
J mimetype text/plain
J username dgp
K 1397843fffffffffffffffffffffffffffffffff
U dgp
Z 339090de1ba06dd6fca7baceef65cae5