Usually such a mistake is followed by a "noooooooooooooooooooooooooooooooooooo!" and quiet resignation to wait for my app to build and get to the point under the debugger where I can stop it. 

So here's a super-handy tip for larger projects I learned last week: You can cancel a build using CTRL+Break.