# Some of ASTInterpreter commands not supported in ASTInterpreter2?

**URL:** <https://discourse.julialang.org/t/some-of-astinterpreter-commands-not-supported-in-astinterpreter2/6271>\
**Category:** New to Julia\
**Created:** [October 5, 2017, 8:47pm UTC](https://discourse.julialang.org/t/some-of-astinterpreter-commands-not-supported-in-astinterpreter2/6271 "2017-10-05T20:47:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chobbes](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@chobbes](https://discourse.julialang.org/u/chobbes)\
**Post date:** [October 5, 2017, 8:47pm UTC](https://discourse.julialang.org/t/some-of-astinterpreter-commands-not-supported-in-astinterpreter2/6271/1 "2017-10-05T20:47:41Z")

</div>

I typed the command `se` but an error is thrown. Is it because `se` is no longer supported? If so, which ASTInterpreter commands are not available in ASTInterpreter2? Thanks.

```julia
1|debug > se
ERROR: MethodError: no method matching _step_expr(::ASTInterpreter2.JuliaStackFrame)
Closest candidates are:
  _step_expr(::Any, ::Any) at /home/chobbes/Documents/git/ASTInterpreter2.jl/src/interpret.jl:76
Stacktrace:
 [1] step_expr at /home/chobbes/Documents/git/ASTInterpreter2.jl/src/interpret.jl:137 [inlined]
 [2] execute_command(::DebuggerFramework.DebuggerState, ::ASTInterpreter2.JuliaStackFrame, ::Val{:se}, ::String) at /home/chobbes/Documents/git/ASTInterpreter2.jl/src/commands.jl:26
 [3] (::DebuggerFramework.##4#8{Base.Terminals.TTYTerminal,DebuggerFramework.DebuggerState,Base.LineEdit.Prompt})(::Base.LineEdit.MIState, ::Base.AbstractIOBuffer{Array{UInt8,1}}, ::Bool) at /home/chobbes/Documents/git/DebuggerFramework.jl/src/DebuggerFramework.jl:254
 [4] eval(::Module, ::Any) at ./boot.jl:235
 [5] run_interface(::Base.Terminals.TTYTerminal, ::Base.LineEdit.ModalInterface) at ./LineEdit.jl:1583
 [6] RunDebugger(::Array{ASTInterpreter2.JuliaStackFrame,1}, ::Base.REPL.LineEditREPL, ::Base.Terminals.TTYTerminal) at /home/chobbes/Documents/git/DebuggerFramework.jl/src/DebuggerFramework.jl:306
 [7] RunDebugger(::Array{ASTInterpreter2.JuliaStackFrame,1}) at /home/chobbes/Documents/git/DebuggerFramework.jl/src/DebuggerFramework.jl:222

```

---

<div class="post-metadata">

**Author:** ![Keno](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/keno/32/285_2.png) [@Keno](https://discourse.julialang.org/u/Keno)\
**Post date:** [October 5, 2017, 10:53pm UTC](https://discourse.julialang.org/t/some-of-astinterpreter-commands-not-supported-in-astinterpreter2/6271/2 "2017-10-05T22:53:57Z")

</div>

Thanks for trying it out. Just an oversight. I’ll look into it.

---

<div class="post-metadata">

**Author:** ![chobbes](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@chobbes](https://discourse.julialang.org/u/chobbes)\
**Post date:** [October 6, 2017, 2:33pm UTC](https://discourse.julialang.org/t/some-of-astinterpreter-commands-not-supported-in-astinterpreter2/6271/3 "2017-10-06T14:33:05Z")

</div>

Thanks!

---

<div class="post-metadata">

**Author:** ![chobbes](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@chobbes](https://discourse.julialang.org/u/chobbes)\
**Post date:** [October 6, 2017, 9:31pm UTC](https://discourse.julialang.org/t/some-of-astinterpreter-commands-not-supported-in-astinterpreter2/6271/4 "2017-10-06T21:31:08Z")

</div>

`Up` key doesn’t recall previous commands in `1|julia` mode, though it works for `1|debug`. Is this deliberate? Can’t remember if it is so in `ASTInterpreter`. Is there a way to enable recalling under `1|julia`?
