From: SourceForge.net <no...@so...> - 2006-11-04 17:28:22
|
Patches item #1587317, was opened at 2006-10-30 17:01 Message generated for change (Comment added) made by ecky-l You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=310894&aid=1587317&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 44. Parsing and Eval Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Eckhard Lehmann (ecky-l) Assigned to: miguel sofer (msofer) Summary: TIP #290 register custom error handlers Initial Comment: 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 ---------------------------------------------------------------------- >Comment By: Eckhard Lehmann (ecky-l) Date: 2006-11-04 18:28 Message: 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 ---------------------------------------------------------------------- Comment By: Eckhard Lehmann (ecky-l) Date: 2006-10-31 18:59 Message: 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=310894&aid=1587317&group_id=10894 |