Does the console report all the errors the same way as in Java mode ?

edited January 2014 in JavaScript Mode

Hello,

I have used Processing in Java mode for some time and now I have begun with the JavaScript mode.

My program has obviously a problem but I don't see any error message in the console. Is the console supposed to work the same way in JavaScript mode as in Java mode ?

Tagged:

Answers

  • OK. This is explained here: wiki.processing.org/w/JavaScript . You need a console within the browser used for testing. There is a console integrated in some browsers (Chrome, Safari). For FireFox, you need a plugin such as FireBug.

  • Be aware that with FireBug one has to replace the print function with console.log otherwise the script attempts to print to a real printer !

Sign In or Register to comment.