Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to execute a Julia script step by step?

Tags:

julia

Is there any way in Julia to execute an existing script step by step in REPL meanwhile being able to modify/plot arrays? (As in the case of Matlab debugging)

Note: I am especially asking this for version 0.4 for which hopefully a new debugging system is being implemented.

like image 639
tantuni Avatar asked Feb 14 '15 21:02

tantuni


1 Answers

You have a few options:

  • The Debug package provides step-by-step debugging. It hasn't yet been updated for 0.4, however.
  • Juno provides some nice functionality for executing specific lines, and includes integrated plotting
  • Copy/paste the script into the REPL

Indeed there is a more general debugger in the works, but it's not possible to say when it will be ready.

like image 183
tholy Avatar answered Oct 22 '22 18:10

tholy