I cannot execute either of the following functions successfully with the Juno debugger.
They run fine outside of the debugger, however.
Function 1
function df_debug1()
df = DataFrame(A=1:3, B=4:6)
df1 = hcat(df[!,[:A]], df[!,[:B]])
end
In the debugger from Juno.@enter df_debug1()
, I see:
ERROR: MethodError: no method matching getfield(Core, Symbol("#kw##invoke"))(::NamedTuple{(:makeunique, :copycols),Tuple{Bool,Bool}}, ::typeof(invoke), ::typeof(DataFrames.hcat!), ::Type{Tuple{DataFrame,AbstractDataFrame}}, ::DataFrame, ::DataFrame)
Outside of the debugger I see:
3×2 DataFrame
│ Row │ A │ B │
│ │ Int64 │ Int64 │
├─────┼───────┼───────┤
│ 1 │ 1 │ 4 │
│ 2 │ 2 │ 5 │
│ 3 │ 3 │ 6 │
Function 2
function df_debug2()
Pkg.status("DataFrames")
end
In the debugger from Juno.@enter df_debug2()
, I see:
ERROR: BoundsError: attempt to access "/home/miles/projects/my_project/Project.toml"
Outside of the debugger I see:
Status `~/projects/my_project/Project.toml`
[a93c6f00] + DataFrames v0.19.3