Debug not working with Julia v0.5
Installed v0.5 via homebrew, and added Debug via Pkg.add("Debug"). Ran some existing plotting code that was fine under 0.46 and got the following error:
INFO: Precompiling module Debug.
WARNING: symbol is deprecated, use Symbol instead.
in depwarn(::String, ::Symbol) at ./deprecated.jl:64
in symbol(::String, ::Vararg{String,N}) at ./deprecated.jl:30
in include_from_node1(::String) at ./loading.jl:488
in include_from_node1(::String) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
in include_from_node1(::String) at ./loading.jl:488
in include_from_node1(::String) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
in macro expansion; at ./none:2 [inlined]
in anonymous at ./
I think this issue is very important. I am seeing a lot of bugs from Gallium.jl and I don't think Gallium is any useful at the moment.
The Symbol error is easy to fix. In AST.jl there are a few references to deprecated symbol instead of Symbol. But after that, you will find that SymbolNode is equally undefined and I can't figure out what its replacement is.
@toivoh Users need a working Debugger.
Same here
ERROR: LoadError: LoadError: UndefVarError: SymbolNode not defined
in include_from_node1(::String) at ./loading.jl:488
in include_from_node1(::String) at /usr/local/Cellar/julia/0.5.0/lib/julia/sys.dylib:?
in include_from_node1(::String) at ./loading.jl:488
in include_from_node1(::String) at /usr/local/Cellar/julia/0.5.0/lib/julia/sys.dylib:?
in macro expansion; at ./none:2 [inlined]
in anonymous at ./<missing>:?
in eval(::Module, ::Any) at ./boot.jl:234
in eval(::Module, ::Any) at /usr/local/Cellar/julia/0.5.0/lib/julia/sys.dylib:?
in process_options(::Base.JLOptions) at ./client.jl:239
in _start() at ./client.jl:318
in _start() at /usr/local/Cellar/julia/0.5.0/lib/julia/sys.dylib:?
while loading /Users/adrian/.julia/v0.5/Debug/src/Analysis.jl, in expression starting on line 51
while loading /Users/adrian/.julia/v0.5/Debug/src/Debug.jl, in expression starting on line 7
------ ErrorException ------------------ Stacktrace (most recent call last)
[1] — require(::Symbol) at sys.dylib:?
[2] — require(::Symbol) at loading.jl:422
[3] — compilecache(::String) at loading.jl:593
Failed to precompile Debug to /Users/adrian/.julia/lib/v0.5/Debug.ji.
I'm having the exact same problem as essenciary.
+1
I can't really help but this was the PR which removed SymbolNode: https://github.com/JuliaLang/julia/pull/15609
It introduced a new Slot which features sometimes where SymbolNode was before. Maybe that works?
Same issue here. I have to stay on Julia 0.4.7 until Gallium is ready for use or Debug.jl can be used in Julia 0.5
I've switched my project to Gallium - it has a different workflow coming from Debug so it takes a bit of a change in mindset and possibly changes in code to accommodate. But it works great and it's the future (and present) of Julia debugging, so it's worth taking the time to switch.