TIP #290 register custom error handlers
Open1587317fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2006-10-30 16:01:09
This is the patch for TIP #290 ("Registration of Custom
Error Handler Scripts") against 8.5a5
See http://www.tcl.tk/cgi-bin/tct/tip/290 for details
on the proposed feature
ecky-lplain2006-10-30 23:01:09
File Added - 200649: errorscript.patch
ecky-lplain2006-11-01 00:59:22
File Added - 200848: errorscript.patch 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.
ecky-lplain2006-11-05 00:28:21
File Added - 201401: 290-3-20061104.diff 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
ecky-lplain2006-11-07 02:56:00
File Added - 201647: 290-4-20061106.diff
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
Log in (anonymous is fine) to add a comment.
Attachments:
- 290-4-20061106.diff [download] added by ecky-l on 2006-11-07 02:56:00. [details]
- 290-3-20061104.diff [download] added by ecky-l on 2006-11-05 00:28:21. [details]
- errorscript.patch [download] added by ecky-l on 2006-11-01 00:59:22. [details]