timholy / Rebugger.jl

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

Rebugger in windows #46

Closed waldocoetzee closed 6 years ago

waldocoetzee commented 6 years ago

Thanks for a much needed debugger for Julia 1.0.0.

I try to enter an expression by hovering over the 'a' and pressing Esc+e. I get the following message.

julia> using Rebugger
julia> abs(2)
Expression at point is not a call expression
rebug> abs(2)

The stacktrace (with esc+s) does appear to work fine.

timholy commented 6 years ago

When you say "hover over the a" do you mean with the mouse? It has to be with the cursor, i.e., where text would be inserted if you started typing on the keyboard.

waldocoetzee commented 6 years ago

Hi Tim, thanks for the reply. Yes, hovering over the 'a' of 'abs' with the mouse cursor. I then press 'esc+e ' and the jula> prompt changes to rebug> and i get the message Expression at point is not a call expression.

timholy commented 6 years ago

Right, that's not how you do it. Move the prompt to the beginning of the a. The mouse has nothing to do with anything. (EDIT: to check that you're doing it right, type a few characters. They should insert right before the a. Now delete those characters and then try esc+e.)

waldocoetzee commented 6 years ago

Ah ha, thanks, user error.

waldocoetzee commented 6 years ago

User error no issue with package.