git clone https://github.com/tkf/julia-sysimage-recipes
cd julia-sysimage-recipes/rebugger
make
# make JULIA=$(which custom-julia) # for using another julia executable
make repl
This launches a Julia REPL with Rebugger AOT-compiled into the system image. You can see that rebugrepl_init is not called properly:
To reproduce, run this Makefile like this
This launches a Julia REPL with Rebugger AOT-compiled into the system image. You can see that
rebugrepl_init
is not called properly:To see the actual error, you can edit
Rebugger.__init__
like thiswhich yields (after compiling it with PackageCompiler):