updated the patch to the new specification. Changes:
- handler is called on every exceptional return, not just
TCL_ERROR (as it was before)
- return code and result are appended as arguments to the
handler
- registration command is now a subcommand of trace:
trace set exception ?-caught? ?-uncaught? ?command?
trace info exception
trace unset exception
The new patch is against CVS HEAD
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
fixed error for old trace commands ('trace variable', 'trace
vdelete', 'trace vinfo')... just a missed comma.
fixed tests/trace.test to give correct message
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1345135
added updating of error information before the custom
handler is run, so that the ::errorInfo variable contains it
when the handler is run.
updated patch - see above (31.10.2006)
Logged In: YES
user_id=1345135
updated the patch to the new specification. Changes:
- handler is called on every exceptional return, not just
TCL_ERROR (as it was before)
- return code and result are appended as arguments to the
handler
- registration command is now a subcommand of trace:
trace set exception ?-caught? ?-uncaught? ?command?
trace info exception
trace unset exception
The new patch is against CVS HEAD
patch against today's CVS head
Logged In: YES
user_id=1345135
fixed error for old trace commands ('trace variable', 'trace
vdelete', 'trace vinfo')... just a missed comma.
fixed tests/trace.test to give correct message