push!(JuliaInterpreter.compiled_modules, Base)
. Do this before you start debugging. You can add packages to this, too: push!(JuliaInterpreter.compiled_modules, SomePackage)
. If you want to be more comprehensive and include inner modules, you can do this:
using JuliaInterpeter, MethodAnalysis
union!(JuliaInterpreter.compiled_modules, child_modules(Base))
This adds an additional 44 modules that are inside Base
, so that all of Julia’s own code will be run in compiled mode. This should give you an experience that’s a little closer to what you’d get in Matlab or Python, where the internal code is mostly in C and can’t be interpreted.