I have a function in Julia that requires to do things in a loop. A parameter is passed to the loop, and the bigger this parameter, the slower the function gets. I would like to have a message to know in which iteration it is, but it seems that Julia waits for the whole function to be finished before printing anything. This is Julia 1.4. That behaviour was not on Julia 1.3. A example would be like this
function f(x) rr=0.000:0.0001:x aux=0 for r in rr print(r, " ") aux+=veryslowfunction(r) end return aux end As it is, f, when called, does not print anything until it has finished.