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
{{ message }}
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
@Keno This is on 0.5, using the latest tag of Gallium.jl.
julia> using Gallium
julia> Gallium.breakpoint_on_error()
Gallium.Hooking.Hook(Ptr{Void} @0x00007ff7dfcf6ec0,UInt8[0x55,0x48,0x89,0xe5,0x53,0x48,0x89,0xfb,0x48,0x83,0xec,0x08,0xe8,0x7f,0x23,0x02,0x00],Gallium.breakpoint_on_error_hit)
julia> model = train_model("orig", CoughModel("SVM"), features)
ERROR: UndefVarError: cross_validate not defined
in #optimal_model#130(::Int64, ::Bool, ::Function, ::Type{libcough.SupportVectorMachine}, ::libcough.FeatureNormalizer, ::Dict{String,Array{libcough.LSPFeature,1}}, ::Dict{String,Array{libcough.LSPFeature,1}}) at /home/sabae/src/coughsense3/libcough/models/ModelOptimizer.jl:85
in (::libcough.#kw##optimal_model)(::Array{Any,1}, ::libcough.#optimal_model, ::Type{libcough.SupportVectorMachine}, ::libcough.FeatureNormalizer, ::Dict{String,Array{libcough.LSPFeature,1}}, ::Dict{String,Array{libcough.LSPFeature,1}}) at ./<missing>:0
in #train_model#139(::String, ::Int64, ::Bool, ::Bool, ::Function, ::String, ::Type{libcough.SupportVectorMachine}, ::Dict{String,Array{libcough.LSPFeature,1}}) at /home/sabae/src/coughsense3/libcough/models.jl:80
in train_model(::String, ::Type{libcough.SupportVectorMachine}, ::Dict{String,Array{libcough.LSPFeature,1}}) at /home/sabae/src/coughsense3/libcough/models.jl:50
julia> error("test")
ERROR: test
in error(::String) at ./error.jl:21
As can be seen, Gallium breakpoints are never entered. Is there something I need to do to get breakpoint_on_error() to work?
The text was updated successfully, but these errors were encountered:
@Keno This is on 0.5, using the latest tag of Gallium.jl.
As can be seen, Gallium breakpoints are never entered. Is there something I need to do to get
breakpoint_on_error()
to work?The text was updated successfully, but these errors were encountered: