You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia> function f(a; b=1)
@info "in f"
end
f (generic function with 1 method)
julia> function g()
x = 1
y = f(x, b=x)
return y
end
g (generic function with 1 method)
julia> using Debugger
julia> @enter g()
In g() at REPL[2]:1
1 function g()
2 x = 1
>3 y = f(x, b=x)
4 return y
5 end
About to run: (Core.apply_type)(NamedTuple, (:b,))
1|debug> bp add f
[ Info: added breakpoint for function f
1] f
1|debug> c
[ Info: in f
julia>
1|debug> bp add f
[ Info: added breakpoint for function f
1] f
1|debug> c
Hit breakpoint:
In f##kw(, , a) at REPL[3]:1
>1 function f(a; b=1)
2 @info "in f"
3 end
Likely related to keyword arguments. Did not manage to find a MWE just yet, but this should reproduce it:
The text was updated successfully, but these errors were encountered: