Porting Mono

I have looked into it and here is what I got:

  1. In mono/runtime/mono-wrapper add "Debugger " before ${MONO_EXECUTABLE} in the last line.
  2. In mono/mcs run make --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.
  3. Set a breakpoint on mono/mini/mini-exceptions.c:558. Run a few times, mono_arch_unwind_frame will fail eventually.

Unfortunately I don’t have more time to work on this. Good luck!

2 Likes