You don't see the code run in your head, though. You get a feel for how this design pattern works at a glance (intuition), or you carefully step through the code like a debugger.
This was reaffirming. I spend several hours last night unable to sleep trying to solve a problem. As you describe: I had a design and kept throwing scenarios at it and debugged it.