Quantcast
Channel: First steps - JuliaLang
Viewing all articles
Browse latest Browse all 2795

Trouble with Debugger.@bp

$
0
0

I can’t seem to get @bp to catch when used in a module that’s part of a package. I have:

module ToyModule 

import Debugger 

function f(x) 
    @bp 
    return x^2 
end 

end 

in a package called Cluster. In a new REPL none of the following catches the breakpoint. I’m working from the VSCode REPL.

julia> using Revise 
julia> using Cluster.ToyModule 
julia> ToyModule.f(3)
9
julia> using Debugger
julia> Debugger.@run ToyModule.f(3)

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 2795

Latest Images

Trending Articles



Latest Images