Quote:
Originally Posted by Gunderak
no, i havnt tried debugging it. i dont know how to do tasks that advanced.
|
Gunderak,
In terms of debugging, it's not as complicated as it seems. You simply make things that aren't visible, visible.
ie, in your code you have
PHP Code:
// Add to lottery
this.lottery.add(acct);
For debugging, you could simply add
PHP Code:
// Add to lottery
this.lottery.add(acct);
echo(this.lottery);
Then you'll see it in RC. If you echo'd on the clientside, you would need to press F2 to read the output.
That's just one method of debugging, but just remember all you need to do to debug it is produce extra output that you can see, so you can watch how the code is working.