Juno / JuliaInterpreter versions

Hello, I am a bit lost on which version of Juno support debugging and if this is dependent from JuliaInterpreter.jl or not.

I have Juno v0.7.0 ([e5e0dc1b] Juno v0.7.0), I don’t have JuliaInterpreter.jl but it seems I have debugging already available:

In this post and this one it is instead claimed that debugging comes with Juno 0.8 (where is it?) and it depends in its lower-level functionalities from JuliaInterpreter.jl, so I am just a bit lost on who is providing what… (I need to write a tutorial, so I just want to be precise…)

I think I now understood that “Juno 0.8” means package “Atom.jl v0.8” (that I have). Still I don’t have package JuliaInterpreter.jl.

JuliaInterpreter.jl is installed as a dependency of Atom.jl, so you do have it :wink:

And yes, Juno’s versioning scheme is fairly horrible right now – the relevant thing is the minor version number of Atom.jl and julia-client, atm.

Seems not (or there is something I don’t know…):

(v1.1) pkg> status
    Status `~/.julia/environments/v1.1/Project.toml`
  [c52e3926] Atom v0.8.7
  [6e4b80f9] BenchmarkTools v0.4.2
  [336ed68f] CSV v0.5.5
  [8f4d0f93] Conda v1.3.0
  [a0b5b9ef] Cxx v0.3.2
  [a93c6f00] DataFrames v0.18.3
  [1313f7d8] DataFramesMeta v0.4.1
  [864edb3b] DataStructures v0.15.0
  [31a5f54b] Debugger v0.5.0
  [31c24e10] Distributions v0.20.0
  [c91e804a] Gadfly v1.0.1
  [bd48cda9] GraphRecipes v0.4.0
  [cd3eb016] HTTP v0.8.2
  [7073ff75] IJulia v1.18.1
  [6deec6e2] IndexedTables v0.12.0
  [b6b21f68] Ipopt v0.5.4
  [682c06a0] JSON v0.20.0
  [4076af6c] JuMP v0.19.2
  [e5e0dc1b] Juno v0.7.0
  [aba2b823] LAJuliaUtils v0.0.0 [`~/.julia/dev/LAJuliaUtils`]
  [2fda8390] LsqFit v0.8.1
  [d6bdc55b] Mads v0.7.0
  [e4e893b0] Mimi v0.9.1
  [51fcb6bd] NamedColors v0.2.0
  [56b0d19f] OdsIO v0.5.0
  [91a5bcdd] Plots v0.25.1
  [c46f51b8] ProfileView v0.4.1
  [438e738f] PyCall v1.91.2
  [d330b81b] PyPlot v2.8.1
  [6f49c342] RCall v0.13.2
  [df47a6cb] RData v0.6.0
  [295af30f] Revise v2.1.6
  [27aeedcb] RobustPmap v0.4.1
  [60ddc479] StatPlots v0.9.2
  [f3b207a7] StatsPlots v0.11.0
  [fd094767] Suppressor v0.1.1
  [24249f21] SymPy v1.0.3
  [bd369af6] Tables v0.2.6
  [37b6cedf] Traceur v0.3.0
  [0ae4a718] VegaDatasets v0.5.0
  [112f6efa] VegaLite v0.6.0
  [fdbf4ff8] XLSX v0.5.3
  [c2297ded] ZMQ v1.0.0
  [9a3f8284] Random 
  [1a1011a3] SharedArrays 

julia> using JuliaInterpreter
ERROR: ArgumentError: Package JuliaInterpreter not found in current path:
- Run `import Pkg; Pkg.add("JuliaInterpreter")` to install the JuliaInterpreter package.

 [1] require(::Module, ::Symbol) at ./loading.jl:823

Right, that’s because dependencies are handled differently since Julia 0.7. You can either access it with

julia> using Atom

help?> Atom.JunoDebugger.JuliaInterpreter.breakpoint
  breakpoint(f, [sig], [line], [condition])

  Add a breakpoint to f with the specified argument types sig.¨ If sig is not given, the breakpoint will apply to all
  methods of f. If f is a method, the breakpoint will only apply to that method. Optionally specify an absolute line
  number line in the source file; the default is to break upon entry at the first line of the body. Without condition,
  the breakpoint will be triggered every time it is encountered; the second only if condition evaluates to true.
  condition should be written in terms of the arguments and local variables of f.

or just pkg> add JuliaInterpreter, after which you can using it.

Don’t do this:

do this:

1 Like