Make the work of GC visible?

Is there are recommended way to make the work of GC visible? Like a command line option or compile time option? (or putting breakpoints in /bin/julia and run in gdb …).

I’m (still) hunting a sig11 bug in (my) code and to me it looks like GC.preserve doesn’t what it should do.

I would start with building julia-debug from source (make -j${nproc} julia-debug), and then run julia-debug under gdb/lldb/rr. Valgrind may also be of use, but I’ve never used it myself.