D 2020-04-15T17:18:43.403
L using\strace\swith\sthe\smegatest\sexecutable
P 3b3c99e60ff459d54ef059b96b034bc6e010b313
U jmoon18
W 1051
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 :)
Testing
Z 7f8079a108e4abc39e6b376bf54b6d0c