p5.js-editor icon indicating copy to clipboard operation
p5.js-editor copied to clipboard

println() does not stop writing to the console?

Open GanWeaving opened this issue 9 years ago • 2 comments

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 ...

GanWeaving avatar Jul 30 '16 07:07 GanWeaving

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

lmccart avatar Jul 31 '16 11:07 lmccart

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.

fishinglee avatar Aug 31 '16 06:08 fishinglee