We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › Disabling error reporting
Page Index Toggle Pages: 1
Disabling error reporting (Read 894 times)
Disabling error reporting
Feb 5th, 2010, 8:04am
 
Is it possible to suppress the error reporting during a sketch from the result window or just send it to a text file ?
Re: Disabling error reporting
Reply #1 - Feb 5th, 2010, 8:20am
 
What kind of errors do you have?
Re: Disabling error reporting
Reply #2 - Feb 5th, 2010, 9:51am
 
I am saving an image from one sketch to the hard drive using

save("c:\\workbase\\test\\run.png");

I am simultaneously loading the image from the other sketch.

The error indicating a share violation results in a skip in frameRate.

Once the original sketch is closed. The error reporting stops thus the frame skipping stops. Is it possible to suppress the errors or forward them to a file ?
Re: Disabling error reporting
Reply #3 - Feb 5th, 2010, 1:00pm
 
How are you running the sketches? From the IDE?

You can suppress the errors by adding Code:
System.out.close(); 

to setup().
Re: Disabling error reporting
Reply #4 - Feb 9th, 2010, 1:01am
 
No need to make a post found what i was looking for cheers.
Page Index Toggle Pages: 1