CSC300: drawSteps [4/6] |
01 |
package algs11; import stdlib.*; public class Hello { public static void main (String[] args) { Trace.drawSteps (); Trace.run (); int i = 0; while (i < 3) { StdOut.println (i); i = i + 1; } } } |
Trace.drawSteps()
causes a drawing to be
created at every step of execution.
Trace.drawSteps()
must be called before
Trace.run()
Trace
configuration functions must be
called before Trace.run()