|
From: | Oğuz |
Subject: | Re: Function declarations produce no trace nor trigger debug trap while having side effects |
Date: | Fri, 28 Oct 2022 22:24:37 +0300 |
28 Ekim 2022 Cuma tarihinde Erik Adelbert <erik@adelbert.fr> yazdı: > > 1 there is an error > 2 the debug TRAP is not invoked before the function definition > 3 the function definition is required to return 0 if successful > 4 the debug TRAP is invoked after the successful function definition > > This results in an effective masking of the error from the debugging > support. This sounds like a misuse of the debug trap. The error can be caught using the err trap, why don't you use that instead? -- Oğuz
[Prev in Thread] | Current Thread | [Next in Thread] |