Usually I don’t. If someone wants to do debug SomePackage
for whatever reason, he simply has to
using SomePackage
union!(JuliaInterpreter.compiled_modules, setdiff(Base.loaded_modules_array(), [Main, SomePackage]))
Note your code has to be adjusted a bit: union!(JuliaInterpreter.compiled_modules, setdiff(Base.loaded_modules_array(), [Main]))
Question:
Beside Base.loaded_modules_array()
, do we also need to step in each loaded module with child_modules(...)
?