I've changed my code but the console still shows the old output. What's happening?

Scott Stanchfield

There are a few possibilities to explore here:

Chances are pretty good that you're still looking at old output in the console. The Console shows the output of all runs of your application, clearing only when you close the console (or remove terminated progs from it.) The last app listed is the most-recently run -- check which output you're actually viewing.

One other possibility is that you just haven't saved your code before re-running the application. This is much more common than you might think. At least you don't have to remember to compile!


See also