Setting breakpoint: no luck

This code simply runs: it does not stop for the breakpoint.

module Utils
using Debugger
function myfunc(x)
    x = x .^2
    return x .+ 3

using Main.Utils


You need

@run Main.Utils.myfunc(3)
1 Like

Oh, my bad.

So does it actually mean that I can leave the @bp freely in the code without any penalty when running it without the @run?


1 Like

Can the command

bp add line

(from used to set a breakpoint? It actually seems like the bp
commands have been removed the interface of Debugger.

The opposite; they have recently been added and are only available with the master branch right now.

1 Like

Master of JuliaInterpreter.jl is also needed.

With the master branches of those two packages bp add … works…thanks!