The issue that prompted me to ask this is a web form that was not persisting data the way I expected it to. That's vague, but the point is, what do you like to do to model state, flow of data, and so forth?
I'll second the whiteboard answer and add that explaining what is supposed to be happening, following by verbalizing what the the code is actually doing, along with a basic graphic is hugely helpful for any project.