Jigsaw Prints Only When Finished Executing

Issue #9 resolved
Muhsin King created an issue

When I tell Jigsaw to print something, then compute more, then print again, it waits until it has finished executing the entirety of the code, then prints everything at the same time. This is different than Python, which will print each statement as is runs down the code.

Comments (5)

  1. Doug Blank

    Can you provide an example? Are you using the I/O print block, or the Python print function in a statement block?

  2. Muhsin King reporter

    I am using the I/O block, but I'm also calling the function using "pass" as I did with issue 7--I'm going to try again using the procedure call block.

  3. Muhsin King reporter

    Okay, so this is, like issue 7, only a problem when calling the procedure with a statement block. If you use a procedure call, it prints as the program executes, normally (though, as with issue 7, it computes slower)

  4. Doug Blank
    • changed status to open

    I'm going to leave this open; someone can look at the output of running a program this way to make sure that output is being printed when it should (are we blocking the GUI update?)

  5. Log in to comment