Add breakpoint utility function.
Merge pull request #3367 from jdm/breakpoint

Add breakpoint utility function.