How do you debug several places at the same time?
You have a ton of those statements, that's why you organize them in functions, and go debugging high level functions before you go into lower level ones, and then into atomic statements.
Anyway, you'll almost certainly want to do that in an repl. I don't know if swift supports one, if not that would be a real drawback.