2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

JuliaをDebugする

Posted at

JuliaをJunoを使ってAtom上でdebugします。現段階では、Atomのみの対応でVScodeとかには対応してないみたいです。

こんなかんじ↓ 引用元:http://docs.junolab.org/latest/man/debugging/
image.png

やること

  1. Atomをインストールする。
  2. uber-junoというパッケージをインストールする
  3. Atomの上にあるメニューから、Julia > Open ConsoleとしてEnter (juliaのPATHが通ってないとなにもおこらない)
  4. 3で開いたコンソールから以下のように入力してデバッグ開始
test.jl
module Test
    function sayHello()
        println("Hello World")     
    end
end
REPL
julia> include("test.jl")
julia> using .Test
julia> Juno.@enter Test.sayHello()
"Hello World"

結論

Atomを使います:bride_with_veil:

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?