Tcl Source Code

Artifact [29437f2451]
Login

Artifact 29437f24518b7a4d16a501e8d580243e098c38e406295d88410bb8f1aa0d2464:

Ticket change [29437f2451] - Ticket [2d2a321244] info frame does not correct recognize current type of execution scope status still Open with 3 other changes by sebres 2019-03-15 19:21:45.
D 2019-03-15T19:21:45.517
J icomment Partially\sthe\sbehavior\smay\sbe\scorrect\s-\sthe\sdocumentation\sabout\stype\s"proc"\ssays:\r\n\r\n<b>proc</b>\smeans\sthat\sthe\scommand\sis\sfound\sin\s<b>dynamically</b>\screated\sprocedure\sbody.\r\n\r\nSo\sI\sassume,\sin\scase\sit\sis\sconstructed\s"statically"\sfrom\ssource\sand\scompiled\s(like\sTCL_LOCATION_BC),\sinfo\sframe\sjust\ssearching\sthe\stype\sup\sto\sthe\ssource\sand\sreturns\sit\swrapped\sto\sthe\sorigin\stype\s(e.\sg.\susing\sTclGetSrcInfoForPc).\r\n\r\nBut\sthe\supper\scase\s(difference\sby\s[info\sframe\s0]\sand\s[info\sframe\s[info\sframe]]\smay\soccur\sbecause\sof\sthe\sin-place\schange\sof\sinterpreter\sframe\slevels\sinside\sInfoFrameCmd,\sso\sit\sis\scorrect\sby\sdirect\sinvocation\s(0)\sand\swrong\sby\s2\scommands\ssequentially.\sAdditionally\sthis\sis\sugly\sand\sshould\sbe\srewritten.\sWiP.
J login sebres
J mimetype text/x-fossil-wiki
K 2d2a32124406e8494a9d73cf2b668dcddc75fdf6
U sebres
Z f13c08d47772eef8969317ee49972b26