Page 1 of 1

debuggin' picture code

Posted: Fri Aug 30, 2002 3:06 am
by 9902468
How do you do it? This is plain hell! If something is wrong in the code that creates images, the image is just not shown. And now that the code works it doesn't do everything it is supposed, ie every text that I want to print to the picture shows, but rectangles that I output sometimes are visible and sometimes not... I have few ifs whiles and fors in code, but how I should examine what loops are entered and what not? etc. etc...

thanks

-9902468

Posted: Sat Aug 31, 2002 11:33 am
by Takuma
Try printing out some normal text in each loop like:

Loop 1 : echo "Loop1";
Loop 2 : echo "Loop2";
.
.
.
.

That's how I normaly do it.