D 2014-11-26T22:24:29.857
L using\strace\swith\sthe\smegatest\sexecutable
P 478041416b70a5f37845f4aa8a4728088cd06f1a
U matt
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 dd0b01ac97a8c9cb57c13e1f8f7b504b