|
2006-09-30
| ||
| 01:06 | • Ticket [1545776fff] Use full-qualified proc names in error traceback status ... artifact: 58b605bf4d user: msofer | |
|
2006-08-24
| ||
| 22:37 | • Ticket [1545776fff]: 4 changes artifact: f61ed929b1 user: dgp | |
| 07:45 | • New ticket [1545776fff]. artifact: 30c5713244 user: suchenwi | |
Use full-qualified proc names in error traceback
Open1545776fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2006-08-24 07:45:37
% namespace eval foo {}
% proc foo::f x {expr {$x/0}}
% proc foo::g x {f $x}
% foo::g 42
divide by zero
% set errorInfo
divide by zero
while executing
"expr {$x/0}"
(procedure "f" line 1) <----------- HERE!
invoked from within
"f $x"
(procedure "foo::g" line 1)
invoked from within
"foo::g 42"
To make debugging easier, having fq names (foo::f in
the example) would be helpful.
dgpplain2006-08-24 22:37:18
Logged In: YES user_id=80530 Something to consider is whether just the fully-qualified name is good enough, or whether the [namespace origin]al name might be even better?
msofer Ticket [1545776fff]: 1 change
[History diff]2006-09-30 01:06:46
Log in (anonymous is fine) to add a comment.