src/Visualizer.java
/**
     * Steps until the program's program counter reaches the value of pc. The
     * command at pc is not executed.
     *
     * @param endpc - stop execution once the program counter reaches pc
     */
Steps until the program's program counter reaches the value of pc. The
command at pc is not executed.

@param endpc - stop execution once the program counter reaches pc
Steps until the program ' s program counter reaches the value of pc . The command at pc is not executed . @param endpc - stop execution once the program counter reaches pc
private void stepUntil(int endpc) {
        while (interp.getProgramCounter() < endpc)
            try {
                step();
            } catch (Exception e) {
                e.printStackTrace();
                System.out.println("stepuntil or run returned prematurely.");
                return;
            }
    }
private void stepUntil ( int endpc ) { while ( interp . getProgramCounter ( ) < endpc ) try { step ( ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; System . out . println ( "stepuntil or run returned prematurely." ) ; return ; } }
Steps until the program's program counter reaches the value of pc.
Steps until the program ' s program counter reaches the value of pc .