Is there a way of pinpointing the line of an error when you have multiple tabs for a project? For example, the console is telling me that my program is crashing on line 500, but I don't know where line 500 is because each tab starts with a line number of 1, and none of my tabs have more than 100 lines of code. Do I need to add up the number of lines in each tab to figure out where line 500 is?
How can I continually clear the canvas? I essentially want to make sure the entire screen is cleared at the end of each draw(). This is the code I have, which doesn't work.
I am running into problems using both OpenGL and selectFolder() in my sketch. I am using the PeasyCam, controlP5, and OpenGL libraries, so as a sanity check, I used the following sample code:
I then added an extra line to select a folder and my program just hangs up without doing anything. BUT, if I change OpenGL to P3D, it works fine. Anyone know how to solve this problem? I need OpenGL for my application so...
/**
* ControlP5 with PeasyCam support. tested with peasy 0.8.2