Show argument values in bgerror

Liste des GroupesRevenir à cl tcl 
Sujet : Show argument values in bgerror
De : alexandru.dadalau (at) *nospam* meshparts.de (alexandru)
Groupes : comp.lang.tcl
Date : 17. Sep 2024, 22:31:25
Autres entêtes
Organisation : novaBBS
Message-ID : <b42edc7a9bab2a468f2694eda7a2df32@www.novabbs.com>
User-Agent : Rocksolid Light
I have this ::bgerror function to help debug errors in program flow:
proc ::bgerror {message} {
  global errorInfo
  puts "*** START OF ERROR MESSAGE ***\n$message\n$errorInfo\n*** END OF
ERROR MESSAGE ***"
}
The issue is, that the errorInfo does not show the values of the
arguments of called procedures in the stack.
Thus it's often not clear which arguments lead the the error.
Is there a trick how to show the values with which the procedures were
called in the stack prior to the error?
Many thanks
Alexandru

Date Sujet#  Auteur
17 Sep 24 * Show argument values in bgerror12alexandru
18 Sep 24 +* Re: Show argument values in bgerror2et99
18 Sep 24 i`- Re: Show argument values in bgerror1alexandru
18 Sep 24 +* Re: Show argument values in bgerror8Harald Oehlmann
18 Sep 24 i`* Re: Show argument values in bgerror7alexandru
18 Sep 24 i `* Re: Show argument values in bgerror6Harald Oehlmann
18 Sep 24 i  `* Re: Show argument values in bgerror5alexandru
18 Sep 24 i   `* Re: Show argument values in bgerror4Harald Oehlmann
20 Sep 24 i    +- Re: Show argument values in bgerror1alexandru
24 Sep 24 i    `* Re: Show argument values in bgerror2rene
13 Oct 24 i     `- Re: Show argument values in bgerror1Harald Oehlmann
18 Sep 24 `- Re: Show argument values in bgerror1Don Porter

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal