timholy / Rebugger.jl

An expression-level debugger for Julia with a provocative command-line (REPL) user interface
Other
171 stars 18 forks source link

Unresponsive repl in interpret mode #83

Open tomerarnon opened 4 years ago

tomerarnon commented 4 years ago

Following the tutorial (stepping through sort), when I enter interpret mode I can't do anything else. Pressing any keys behaves as though the repl is hanging.

See e.g.

julia> using Rebugger

julia> 

julia> a = [4,2,3,1]
4-element Array{Int64,1}:
 4
 2
 3
 1

interpret> s[ Info: tracking Base

sort(v::AbstractArray{T,1} where T; kws...) in Base.Sort at /Applications/Julia-1.5.app/Contents/Resources/julia/share/julia/base/sort.jl:780
 #sort#8(kws, ::typeof(sort), v::AbstractArray{T,1} where T) in Base.Sort at /Applications/Julia-1.5.app/Contents/Resources/julia/share/julia/base/sort.jl:780
  #sort#8 = #sort#8
  kws = Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}()
  @_3 = sort
  v = [4, 2, 3, 1]
 780  sort(v::AbstractVector; kws...) = begin
 780          sort!(copymutable(v); kws...)
          end
q
?
^[^[[C^[[D^[[C^[[D^[[C^[[D
?
q