When I'm writing code, I round-trip between editor and debugger constantly.
I like to see my code running, step-by-step, while I'm writing it. It helps my thought process.
I do the same when studying a library or sample code.
I try to get a working example up-and-running as soon as I can.
Then I step through it, while reading the doco.
At the same time, I try to make a mental image of the code flow in my brain.
That helps me to get a deep understanding.
Do you use the debugger a lot too, or do you prefer a development cycle with as little as possible debugger use?