Skip to content
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

[BUG] Debug file failure when including line using <module-name> #527

Closed
Golho opened this issue Mar 23, 2020 · 4 comments
Closed

[BUG] Debug file failure when including line using <module-name> #527

Golho opened this issue Mar 23, 2020 · 4 comments
Labels

Comments

@Golho
Copy link

Golho commented Mar 23, 2020

Details

  • Atom version: 1.40.1 x64
  • Julia version: 1.0.5
  • OS: Ubuntu 18.04
  • Package versions:
    • Atom.jl: ?where do I find this?
    • julia-client: 0.12.3
    • ink: 0.12.3

Steps to reproduce

  1. Create a file which include using <package> e.g. using LinearAlgebra
  2. Debug the file

My example

My example file looks like this

using LinearAlgebra

function say_hi()
    println("hi")
end


say_hi()

And this is how it looks like when I run. I tried to check the "Compiled Mode" checkbox, but it doesn't help.
bug-juno

@Golho Golho added the bug label Mar 23, 2020
@pfitzseb
Copy link
Member

Can you run pkg> status -m in the REPL? I suspect this is happening because you're on an old version of JuliaInterpreter (maybe because you still are on Julia 1.0).

@Golho
Copy link
Author

Golho commented Mar 23, 2020

Can you run pkg> status -m in the REPL? I suspect this is happening because you're on an old version of JuliaInterpreter (maybe because you still are on Julia 1.0).

(v1.0) pkg> status -m
    Status `~/.juliapro/JuliaPro_v1.0.5-2/environments/v1.0/Manifest.toml`
  [1520ce14] AbstractTrees v0.3.2
  [bf4720bc] AssetRegistry v0.1.0
  [c52e3926] Atom v0.12.9
  [00ebfdb7] CSTParser v2.2.0
  [7057c7e9] Cassette v0.3.1
  [53a63b46] CodeTools v0.7.0
  [da1fd8a2] CodeTracking v0.5.8
  [3da002f7] ColorTypes v0.9.1
  [5ae59095] Colors v0.11.2
  [34da2185] Compat v3.6.0
  [8f4d0f93] Conda v1.4.1
  [864edb3b] DataStructures v0.17.10
  [b4f34e82] Distances v0.8.2
  [33d173f1] DocSeeker v0.4.1
  [5789e2e9] FileIO v1.2.2
  [53c48c17] FixedPointNumbers v0.7.1
  [08572546] FlameGraphs v0.2.0
  [de31a74c] FunctionalCollections v0.5.0
  [9fb69e20] Hiccup v0.2.2
  [7073ff75] IJulia v1.21.1
  [9b13fd28] IndirectArrays v0.5.1
  [682c06a0] JSON v0.21.0
  [98e50ef6] JuliaFormatter v0.3.6
  [aa1ae85d] JuliaInterpreter v0.7.12
  [e5e0dc1b] Juno v0.8.1
  [7c4cb9fa] LNR v0.2.1
  [50d2b5c4] Lazy v0.15.0
  [1d6d02ad] LeftChildRightSiblingTrees v0.1.2
  [1914dd2f] MacroTools v0.5.4
  [e89f7d12] Media v0.5.0
  [510215fc] Observables v0.3.1
  [bac558e1] OrderedCollections v1.1.0
  [69de0a69] Parsers v0.3.12
  [fa939f87] Pidfile v1.1.0
  [189a3867] Reexport v0.2.0
  [ae029012] Requires v1.0.1
  [b85f4697] SoftGlobalScope v1.0.10
  [88034a9c] StringDistances v0.6.3
  [0796e94c] Tokenize v0.5.7
  [37b6cedf] Traceur v0.3.0
  [a2a6695c] TreeViews v0.3.0
  [30578b45] URIParser v0.4.0
  [81def892] VersionParsing v1.2.0
  [0f1e0344] WebIO v0.8.90
  [104b5d7c] WebSockets v1.5.2
  [cc8bc4a8] Widgets v0.6.2
  [c2297ded] ZMQ v1.1.0
  [2a0f44e3] Base64 
  [b99e7846] BinaryProvider 
  [864e158e] CredentialsHandler 
  [ade2ca70] Dates 
  [8bb1440f] DelimitedFiles 
  [8ba89e20] Distributed 
  [7b1f6079] FileWatching 
  [cd3eb016] HTTP 
  [83e8ac13] IniFile 
  [b77e0a4c] InteractiveUtils 
  [76f85450] LibGit2 
  [8f399da3] Libdl 
  [37e2e46d] LinearAlgebra 
  [56ddb016] Logging 
  [d6f4376e] Markdown 
  [739be429] MbedTLS 
  [a63ad114] Mmap 
  [44cfe95a] Pkg 
  [de0858da] Printf 
  [9abbd945] Profile 
  [3fa0cd96] REPL 
  [9a3f8284] Random 
  [ea8e919c] SHA 
  [9e88b42a] Serialization 
  [1a1011a3] SharedArrays 
  [6462fe0b] Sockets 
  [2f01184e] SparseArrays 
  [10745b16] Statistics 
  [9d418dce] TOML 
  [8dfed614] Test 
  [cf7118a7] UUIDs 
  [4ec0a83e] Unicode

I've downloaded Julia via the JuliaPro suite. Aside from that, I've also updated Juno, for this particular convenient feature (debugging a file).

@pfitzseb
Copy link
Member

Hm, those package versions look fine, so this is probably related to the old Julia version then. I'd recommend upgrading to Julia 1.4 (or 1.3).

@Golho
Copy link
Author

Golho commented Mar 27, 2020

Hm, those package versions look fine, so this is probably related to the old Julia version then. I'd recommend upgrading to Julia 1.4 (or 1.3).

Yup, got it working with Julia 1.4, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants