D 2020-04-15T17:18:56.160
L using\strace\swith\sthe\smegatest\sexecutable
P dbcca1e5a6c9128fe9ceb580be1ef38cde4bb299
U jmoon18
W 1040
Using trace to debug Megatest issues
NOTE: I have found this method to be very efficient for debugging in general and use it with Megatest and in most of my programs.
# Create ~/.megatestrc
(use trace)
(import trace)
;; list the functions you think might illuminate the problem here
runs:process-expanded-tests
)
# Patch trace to emit a little info on where the function was called
chicken-install -r trace
cd trace
patch -p0 <
# Run your megatest runs and dig through the various logs :)
Z 5bbc99463d1a3f799b6e372efcf6ae44