I have looked into it and here is what I got:
- In
mono/runtime/mono-wrapperadd"Debugger "before${MONO_EXECUTABLE}in the last line. - In
mono/mcsrunmake --no-print-directory -s NO_DIR_CHECK=1 PROFILES='binary_reference_assemblies net_4_x xbuild_12 xbuild_14 ' CC='gcc' all-profiles. This will let you see what’s happening with the Debugger. - Set a breakpoint on
mono/mini/mini-exceptions.c:558. Run a few times,mono_arch_unwind_framewill fail eventually.
Unfortunately I don’t have more time to work on this. Good luck!