-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug not working with Julia v0.5 #80
Comments
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: JuliaLang/julia#15609 It introduced a new |
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. |
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 ./:?
in eval(::Module, ::Any) at ./boot.jl:234
in eval(::Module, ::Any) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
in process_options(::Base.JLOptions) at ./client.jl:239
in _start() at ./client.jl:318
in _start() at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
while loading /Users/jeffreyvarner/.julia/v0.5/Debug/src/AST.jl, in expression starting on line 62
WARNING: Method definition is_evaluable(Debug.AST.Node{Debug.AST.Location}) in module AST at /Users/jeffreyvarner/.julia/v0.5/Debug/src/AST.jl:120 overwritten at /Users/jeffreyvarner/.julia/v0.5/Debug/src/AST.jl:121.
ERROR: LoadError: LoadError: UndefVarError: SymbolNode not defined
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 ./:?
in eval(::Module, ::Any) at ./boot.jl:234
in eval(::Module, ::Any) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
in process_options(::Base.JLOptions) at ./client.jl:239
in _start() at ./client.jl:318
in _start() at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
while loading /Users/jeffreyvarner/.julia/v0.5/Debug/src/Analysis.jl, in expression starting on line 51
while loading /Users/jeffreyvarner/.julia/v0.5/Debug/src/Debug.jl, in expression starting on line 7
ERROR: LoadError: Failed to precompile Debug to /Users/jeffreyvarner/.julia/lib/v0.5/Debug.ji.
in compilecache(::String) at ./loading.jl:593
in require(::Symbol) at ./loading.jl:422
in require(::Symbol) 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:?
while loading /Users/jeffreyvarner/Desktop/Desktop - Jeffrey’s MacBook Pro/julia_work/bigmac_julia_hybrid_fibrinolysis_v2/src/PlotAICPredictions.jl, in expression starting on line 3
The text was updated successfully, but these errors were encountered: