Wolfram Technology Guide: Instant High-Level Debugging  previous | next 
Set Arbitrary Breakpoints
Mathematica can set breakpoints on any piece of procedural, functional, pattern-based, or other code.
Out[1]=