Hello, thanks a lot your package looks very great but I can’t make it work.
Is it an error on my side or should I open an issue, this is error with latest julia:
ERROR: LoadError: ArgumentError: invalid type for argument val in method definition for print_var at /home/gregory/.julia/v0.7/DebuggerFramework/src/DebuggerFramework.jl:14
Stacktrace:
[1] top-level scope
[2] include at ./boot.jl:306 [inlined]
[3] include_relative(::Module, ::String) at ./loading.jl:1072
[4] include(::Module, ::String) at ./sysimg.jl:29
[5] top-level scope
[6] eval at ./boot.jl:309 [inlined]
[7] top-level scope at ./<missing>:3
in expression starting at /home/gregory/.julia/v0.7/DebuggerFramework/src/DebuggerFramework.jl:13
ERROR: LoadError: Failed to precompile DebuggerFramework to /home/gregory/.julia/compiled/v0.7/DebuggerFramework.ji.
Stacktrace:
[1] error at ./error.jl:33 [inlined]
[2] compilecache(::Base.PkgId) at ./loading.jl:1206
[3] _require(::Base.PkgId) at ./loading.jl:979
[4] require(::Base.PkgId) at ./loading.jl:879
[5] require(::Module, ::Symbol) at ./loading.jl:874
[6] include at ./boot.jl:306 [inlined]
[7] include_relative(::Module, ::String) at ./loading.jl:1072
[8] include(::Module, ::String) at ./sysimg.jl:29
[9] top-level scope
[10] eval at ./boot.jl:309 [inlined]
[11] top-level scope at ./<missing>:3
in expression starting at /home/gregory/.julia/v0.7/ASTInterpreter2/src/ASTInterpreter2.jl:4
ERROR: LoadError: LoadError: LoadError: LoadError: Failed to precompile ASTInterpreter2 to /home/gregory/.julia/compiled/v0.7/ASTInterpreter2.ji.
Stacktrace:
[1] error at ./error.jl:33 [inlined]
[2] compilecache(::Base.PkgId) at ./loading.jl:1206
[3] _require(::Base.PkgId) at ./loading.jl:1008
[4] require(::Base.PkgId) at ./loading.jl:879
[5] require(::Module, ::Symbol) at ./loading.jl:874
[6] include at ./boot.jl:306 [inlined]
[7] include_relative(::Module, ::String) at ./loading.jl:1072
[8] include at ./sysimg.jl:29 [inlined]
[9] include(::String) at /home/gregory/.julia/v0.7/Vinyl/src/Vinyl.jl:1
[10] top-level scope
[11] include at ./boot.jl:306 [inlined]
[12] include_relative(::Module, ::String) at ./loading.jl:1072
[13] _require(::Base.PkgId) at ./loading.jl:998
[14] require(::Base.PkgId) at ./loading.jl:879
[15] require(::Module, ::Symbol) at ./loading.jl:874
[16] include at ./boot.jl:306 [inlined]
[17] include_relative(::Module, ::String) at ./loading.jl:1072
[18] _require(::Base.PkgId) at ./loading.jl:998
[19] require(::Base.PkgId) at ./loading.jl:879
[20] require(::Module, ::Symbol) at ./loading.jl:874
[21] top-level scope at /home/gregory/workspace/StructDOM.jl/test/benchmark.jl:4
[22] include at ./boot.jl:306 [inlined]
[23] include_relative(::Module, ::String) at ./loading.jl:1072
[24] include(::Module, ::String) at ./sysimg.jl:29
[25] exec_options(::Base.JLOptions) at ./client.jl:327
[26] _start() at ./client.jl:455
in expression starting at /home/gregory/.julia/v0.7/Vinyl/src/interpret.jl:1
in expression starting at /home/gregory/.julia/v0.7/Vinyl/src/Vinyl.jl:6
in expression starting at /home/gregory/.julia/v0.7/Traceur/src/Traceur.jl:4
in expression starting at /home/gregory/workspace/StructDOM.jl/test/benchmark.jl:4
I’ve recompiled julia with latest commit, and updated all my packages, it makes no differences.
with julia 0.6 (pkg updated) I also have an error:
(Core.kwfunc)(::#Pattern) at boot.jl:237
returns Any
ERROR: LoadError: UndefRefError: access to undefined reference
Stacktrace:
[1] lookup_var(::ASTInterpreter2.JuliaStackFrame, ::SSAValue) at /home/gregory/.julia/v0.6/ASTInterpreter2/src/interpret.jl:3
[2] lookup_var_if_var(::ASTInterpreter2.JuliaStackFrame, ::SSAValue) at /home/gregory/.julia/v0.6/ASTInterpreter2/src/ASTInterpreter2.jl:147
[3] lookup(::ASTInterpreter2.JuliaStackFrame, ::SSAValue) at /home/gregory/.julia/v0.6/Vinyl/src/interpret.jl:21
[4] broadcast_t(::Function, ::Type{Any}, ::Tuple{Base.OneTo{Int64}}, ::CartesianRange{CartesianIndex{1}}, ::ASTInterpreter2.JuliaStackFrame, ::Array{Any,1}) at ./broadcast.jl:256
[5] broadcast_c(::Function, ::Type{Array}, ::ASTInterpreter2.JuliaStackFrame, ::Array{Any,1}, ::Vararg{Array{Any,1},N} where N) at ./broadcast.jl:319
[6] broadcast(::Function, ::ASTInterpreter2.JuliaStackFrame, ::Array{Any,1}) at ./broadcast.jl:434
[7] callargs(::DebuggerFramework.DebuggerState) at /home/gregory/.julia/v0.6/Vinyl/src/interpret.jl:29
[8] runall(::Traceur.Trace, ::DebuggerFramework.DebuggerState) at /home/gregory/.julia/v0.6/Vinyl/src/interpret.jl:34
[9] overdub(::Traceur.Trace, ::Function, ::Array{Any,1}, ::Vararg{Any,N} where N) at /home/gregory/.julia/v0.6/Vinyl/src/interpret.jl:53
[10] macro expansion at /home/gregory/.julia/v0.6/Traceur/src/trace.jl:18 [inlined]
[11] primitive(::Traceur.Trace, ::Function, ::Array{Any,1}, ::Vararg{Any,N} where N) at /home/gregory/.julia/v0.6/Vinyl/src/hooks.jl:24
[12] runall(::Traceur.Trace, ::DebuggerFramework.DebuggerState) at /home/gregory/.julia/v0.6/Vinyl/src/interpret.jl:37
[13] overdub(::Traceur.Trace, ::Function, ::String, ::Vararg{String,N} where N) at /home/gregory/.julia/v0.6/Vinyl/src/interpret.jl:53
[14] macro expansion at /home/gregory/.julia/v0.6/Traceur/src/trace.jl:18 [inlined]
[15] primitive(::Traceur.Trace, ::Function, ::String, ::Vararg{String,N} where N) at /home/gregory/.julia/v0.6/Vinyl/src/hooks.jl:24
[16] runall(::Traceur.Trace, ::DebuggerFramework.DebuggerState) at /home/gregory/.julia/v0.6/Vinyl/src/interpret.jl:37
[17] overdub(::Traceur.Trace, ::Function) at /home/gregory/.julia/v0.6/Vinyl/src/interpret.jl:53
[18] trace(::Function, ::Function) at /home/gregory/.julia/v0.6/Traceur/src/trace.jl:23
[19] warntrace(::Function) at /home/gregory/.julia/v0.6/Traceur/src/trace.jl:36
while loading /home/gregory/workspace/StructDOM.jl/test/benchmark.jl, in expression starting on line 27