ios - Good use of breakpoints in Xcode -


does have specific use xcode breakpoints wanted share? learning through http://www.swifteducation.github.io

the breakpoint isn't used full potential believe , wanted have creative feedback on this.

a little-known use breakpoints use them bookmarks code. use them navigate pieces of code revisit lot. create breakpoint (click gutter left of line of code) , disable right-clicking on , selecting "disable breakpoint". can display breakpoints bringing breakpoint navigator hotkey:

⌘7 : breakpoint navigator

or click on breakpoint icon in navigation bar on left-hand side screenshot here

clicking on breakpoint in navigator instantly take line of code bookmark.

just remember make sure disabled , light blue in colour otherwise cause program halt @ breakpoint.


Comments