tantuni
tantuni

Reputation: 689

How to execute a Julia script step by step?

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.

Upvotes: 8

Views: 6304

Answers (1)

tholy
tholy

Reputation: 12179

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.

Upvotes: 8

Related Questions