K
kj
I have a long-running program that fails sporadically at a particular
point in its execution. This is a "controlled failure", because
it is due to an assertion that is unexpectedly failing to hold.
To debug this, it would be really helpful if I could dump the values
of all the current variables (especially the lexical ones that are
"visible" at the point of failure) right before the program aborts.
Is there an simple way to do this?
TIA!
kynn
point in its execution. This is a "controlled failure", because
it is due to an assertion that is unexpectedly failing to hold.
To debug this, it would be really helpful if I could dump the values
of all the current variables (especially the lexical ones that are
"visible" at the point of failure) right before the program aborts.
Is there an simple way to do this?
TIA!
kynn