Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Scripts run in interactive mode exit on Error #21233
If a script is run in interactive mode:
and it encounters an error, julia exits.
It's as if the script first runs normally, then after it finishes the REPL starts.
I expected (coming from Python) that it would as if the REPL was running the script line-by-line. In that case, the REPL would not exit after an error and let me examine the variables, try to correct the error interactively, etc.
My apologies if it is the intended behavior or if it was discussed before. I couldn't find anything.