Debugger.jl
Debugger.jl copied to clipboard
Macro for non-interactive 'compiled mode'
Would it be possible to add macros to activate/deactivate 'compiled mode' in a similar way to the breakpoint macro @bp?
For example, if I have a program that has a lot of initialization, which takes a very long time in the interpreter, I think it would be nice to be able to do something like
function main()
@enter_compiled_mode
<A bunch of calls to expensive initialization functions>
@exit_compiled_mode
# Now we can run in the interpreter until we hit @bp
<Code that does stuff...>
end