Debugger with CSV read

Can’t debug code calling CSV.read, without debugging it runs fine.

using CSV, DataFrames

function main()
    df = CSV.read("outputs/test.csv", DataFrame; header=false)
    println(df)
end
julia> include("test.jl")
main (generic function with 1 method)

julia> main()
2×3 DataFrame
 Row │ Column1  Column2  Column3 
     │ String?  Int64    String  
─────┼───────────────────────────
   1 │ a              1  c
   2 │ missing        2  d

julia> Debugger.@enter main()
In main() at C:\Users\linas\source\repos\normalization\test.jl:3
 3  function main()
>4      df = CSV.read("outputs/test.csv", DataFrame; header=false)
 5      println(df)
 6  end

About to run: (CSV.var"#read##kw"())((header = false,), CSV.read, "outputs/test.csv", DataFrame)
1|debug> n
ERROR: TypeError: in typeassert, expected DataType, got Type{Array{T,N} where N}
Stacktrace:
 [1] setindex!(::SentinelArrays.SentinelArray{String,1,UndefInitializer,Missing,Array{String,1}}, ::Missing, ::Int64) at C:\Users\linas\.julia\packages\SentinelArrays\Ubf17\src\SentinelArrays.jl:212
 [2] promotetostring!(::Int64, ::Val{false}, ::Int64, ::Dict{Type,Type}, ::Array{AbstractArray{T,1} where T,1}, ::Array{UInt8,1}, ::Int64, ::Int64, ::Int64, ::Array{Int64,1}, ::Float64, ::Array{CSV.RefPool,1}, ::Int64, ::Int64, ::Array{Type,1}, ::Array{UInt8,1}, ::Bool, ::Parsers.Options{false,true,true,false,Missing,UInt8,Nothing}, ::Nothing, ::Type{Tuple{}}) at C:\Users\linas\.julia\packages\CSV\la2cd\src\file.jl:575
 [3] parserow(::Int64, ::Val{false}, ::Int64, ::Dict{Type,Type}, ::Array{AbstractArray{T,1} where T,1}, ::Int64, ::Array{UInt8,1}, ::Int64, ::Int64, ::Array{Int64,1}, ::Float64, ::Array{CSV.RefPool,1}, ::Int64, ::Int64, ::Array{Type,1}, ::Array{UInt8,1}, ::Bool, ::Parsers.Options{false,true,true,false,Missing,UInt8,Nothing}, ::Nothing, ::Type{Tuple{}}, ::Base.RefValue{Int64}, ::Int64) at C:\Users\linas\.julia\packages\CSV\la2cd\src\file.jl:675   
 [4] parsefilechunk!(::Val{false}, ::Int64, ::Dict{Type,Type}, ::Array{AbstractArray{T,1} where T,1}, ::Array{UInt8,1}, ::Int64, ::Int64, ::Int64, ::Array{Int64,1}, ::Float64, ::Array{CSV.RefPool,1}, ::Int64, ::Int64, ::Array{Type,1}, ::Array{UInt8,1}, ::Bool, ::Parsers.Options{false,true,true,false,Missing,UInt8,Nothing}, ::Nothing, ::Type{Tuple{}}, ::Int64) at C:\Users\linas\.julia\packages\CSV\la2cd\src\file.jl:541
 [5] CSV.File(::CSV.Header{false,Parsers.Options{false,true,true,false,Missing,UInt8,Nothing},Array{UInt8,1}}; finalizebuffer::Bool, startingbyteposition::Nothing, endingbyteposition::Nothing, limit::Nothing, threaded::Nothing, typemap::Dict{Type,Type}, tasks::Int64, lines_to_check::Int64, maxwarnings::Int64, debug::Bool) at C:\Users\linas\.julia\packages\CSV\la2cd\src\file.jl:303
 [6] (::Core.var"#Type##kw")(::NamedTuple{(:debug, :typemap),Tuple{Bool,Dict{Type,Type}}}, ::Type{CSV.File}, ::CSV.Header{false,Parsers.Options{false,true,true,false,Missing,UInt8,Nothing},Array{UInt8,1}}) at C:\Users\linas\.julia\packages\CSV\la2cd\src\file.jl:233
 [7] CSV.File(::String; header::Bool, normalizenames::Bool, datarow::Int64, skipto::Nothing, footerskip::Int64, transpose::Bool, comment::Nothing, use_mmap::Nothing, ignoreemptylines::Bool, select::Nothing, drop::Nothing, missingstrings::Array{String,1}, missingstring::String, delim::Nothing, ignorerepeated::Bool, quotechar::Char, openquotechar::Nothing, closequotechar::Nothing, escapechar::Char, dateformat::Nothing, dateformats::Nothing, decimal::UInt8, truestrings::Array{String,1}, falsestrings::Array{String,1}, type::Nothing, types::Nothing, typemap::Dict{Type,Type}, pool::Float64, lazystrings::Bool, strict::Bool, silencewarnings::Bool, debug::Bool, parsingdebug::Bool, kw::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at C:\Users\linas\.julia\packages\CSV\la2cd\src\file.jl:218
 [8] (::Core.var"#Type##kw")(::NamedTuple{(:header,),Tuple{Bool}}, ::Type{CSV.File}, ::String) at C:\Users\linas\.julia\packages\CSV\la2cd\src\file.jl:217
 [9] read(::String, ::Type{DataFrame}; copycols::Bool, kwargs::Base.Iterators.Pairs{Symbol,Bool,Tuple{Symbol},NamedTuple{(:header,),Tuple{Bool}}}) at C:\Users\linas\.julia\packages\CSV\la2cd\src\CSV.jl:45
 [10] (::CSV.var"#read##kw")(::NamedTuple{(:header,),Tuple{Bool}}, ::typeof(CSV.read), ::String, ::Type{DataFrame}) at C:\Users\linas\.julia\packages\CSV\la2cd\src\CSV.jl:42
 [11] main() at C:\Users\linas\source\repos\normalization\test.jl:4
julia> versioninfo()
Julia Version 1.5.3
Commit 788b2c77c1 (2020-11-09 13:37 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-9.0.1 (ORCJIT, haswell)

(@v1.5) pkg> status CSV
Status `C:\Users\linas\.julia\environments\v1.5\Project.toml`
  [336ed68f] CSV v0.8.2

(@v1.5) pkg> status DataFrames
Status `C:\Users\linas\.julia\environments\v1.5\Project.toml`
  [a93c6f00] DataFrames v0.22.4