Displaying 2 results from an estimated 2 matches for "isdebuggedonce".
2018 May 23
0
debugonce() functions are not considered as debugged
...e control over
it. It is better to turn on some extra messages/assertions via other
means. Still, isdebugged() is sometimes used in this context and it
sometimes returns the correct value: if a function has been entered as a
result of debug() called on that function, isdebugged() will be TRUE.
isdebuggedonce() would be always wrong in this context when debugging,
because the flag has been cleared, which would add further confusion.
isdebuggedonce() could only again help the user to refresh their memory
on whether they set the flag, but that does not seem to be a use case
worth supporting.
> To...
2018 May 22
2
debugonce() functions are not considered as debugged
On Mon, May 21, 2018 at 5:01 PM Tomas Kalibera <tomas.kalibera at gmail.com>
wrote:
[...]
> Do you have a good use case when it would be useful to query/unset the
> mark for debugonce?
Well, I suppose the same use cases when it is useful to query/unset the
other debug
mark.
To be more specific, in debug helpers for a tool that works with callbacks
from a central event loop, it is