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 › Waiting for Draw
Page Index Toggle Pages: 1
Waiting for Draw (Read 551 times)
Waiting for Draw
Oct 16th, 2006, 12:47pm
 
Many times, we'd like to see the result of the program before it completes draw.
Could a special breakpoint be included in the Processing IDE, such that when the computer reaches that line in the program, the result is displayed on the screen?
This way, we would be able to see the intermediate graphics drawn in a program.
Re: Waiting for Draw
Reply #1 - Oct 16th, 2006, 1:48pm
 
You already can. Sort of. Just put return(); at the point you want to see what the result at that point is. Of course, the rest fo the code after ti in draw won't be run, but you could toggle it with a keypress or something.
Re: Waiting for Draw
Reply #2 - Oct 19th, 2006, 8:33am
 
Wow! cool idea! Smiley
Re: Waiting for Draw
Reply #3 - Oct 19th, 2006, 6:49pm
 
yep, that'll be a better way to do it. supporting this for the renderers would be absolute hell (i.e. not a big deal for JAVA2D, but a mess for P3D, and an amazing headache for OPENGL).
Page Index Toggle Pages: 1