processing / p5.js-editor

Deprecated desktop editor for p5.js
https://p5js.org
MIT License
339 stars 91 forks source link

println() does not stop writing to the console? #257

Open GanWeaving opened 7 years ago

GanWeaving commented 7 years ago

I've noticed that in certain cases (couldn't identify which) println() keeps printing to the console of the p5 editor even when the sketch has stopped ...

lmccart commented 7 years ago

could you please post a snippet of code that results in the printouts occurring, and the output you are seeing in the console? thanks!

fishinglee commented 7 years ago

I have the same issue. I am testing p5.FFT() sound object from the following reference page. http://p5js.org/reference/#/p5.FFT I copied this code and added println(x) in one of for loops to check x value. When I run this on my local server, the console print out values continuously even though I pressed the stop button on the p5 editor. This has the same problem with my chrome browser. The program keeps running behind until I quit the chrome application, closing the page alone doesn't stop the program.