diff --git a/src/user.jl b/src/user.jl index 8aed93e..a0713b6 100644 --- a/src/user.jl +++ b/src/user.jl @@ -8,14 +8,23 @@ macro enter(ex) end """ - @enter ex + @run ex -Step into `ex`. +Run `ex` with the Interpreter and break when a breakpoint is encountered. """ macro run(ex) Main.Atom.enter(__module__, ex; initial_continue = true) end +""" + @trace ex + +Analyse `ex` for type instabilities using Traceur.jl. +""" +macro trace(ex, args...) + Main.Atom.trace(ex, args...) +end + function connect(args...; kws...) activate() eval(:(Main.Atom.connect($args...; $kws...)))