-
Notifications
You must be signed in to change notification settings - Fork 32
Your Code Doesn't Work, Now What?
mimiyin edited this page Sep 19, 2013
·
2 revisions
- Isolate where the problem is
- Understanding what your code is doing line-by-line is 80% of the battle!
- Make sure your variables are doing what you want them to do. Using println() to see what's going on frame by frame.
- Draw out and calculate all of your variable values for 3 frames of draw()
- Once you've isolated the problem area, extract it from your big complicated sketch and try to get it working all by its onesies in a simple sketch.
- Try explaining it to someone else. The icm-list is a great place for that.
- Remember to start at the beginning: I'm trying to...But this happens....instead of that happening...