Re: [info stacktrace] → ask for assistance

Liste des GroupesRevenir à cl tcl 
Sujet : Re: [info stacktrace] → ask for assistance
De : ralfixx (at) *nospam* gmx.de (Ralf Fassel)
Groupes : comp.lang.tcl
Date : 27. Nov 2024, 10:29:54
Autres entêtes
Message-ID : <ygav7w9vxbh.fsf@akutech.de>
References : 1 2 3
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
* aotto1968 <aotto1968@t-online.de>
| TCL could have a wonderful "exception" interface
>
| 1. The (Tcl_GetReturnOptions) dict is the "exception-object"
|     >   example:
|     >   Tcl_GetReturnOptions(interp,TCL_ERROR): -code 1 -level 0
|     >   -errorstack {INNER {invokeStk1
|     >   ::tcllcconfig::LcSettingC::MK_NULL LookupBool in} CALL
|     >   {::oo::Obj40::my LcSettingLookupBool}} -errorcode NONE
|     >   -errorinfo
| {'LcSettingC' hdl is NULL
|     >       while executing
|     >   "$setting LookupBool $name"
|     >       (class "::LibLcConfigRpcServer" method "LcSettingLookupBool" line 4)
|     >       invoked from within
|     >   "::oo::Obj40::my LcSettingLookupBool"} -errorline 1
| 2. The "-errorstack" key has the LIST of [info frame] dicts until catch
>
| -> everyone is happy

I guess your contribution to the TCL code base would probably be
welcome, provided there is agreement on the necessity of this
feature...

=> https://core.tcl-lang.org/tips/doc/trunk/doc/help.md

R'

Date Sujet#  Auteur
25 Nov 24 * [info stacktrace] → ask for assistance5aotto1968
26 Nov 24 `* Re: [info stacktrace] → ask for assistance4Harald Oehlmann
26 Nov 24  `* Re: [info stacktrace] → ask for assistance3aotto1968
27 Nov 24   `* Re: [info stacktrace] → ask for assistance2Ralf Fassel
27 Nov 24    `- Re: [info stacktrace] → ask for assistance1aotto1968

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal