Chapter 21. More About Debugging

Debugging Techniques

We’ve been using the Debugger window since Chapter 2. Here are a few points that haven’t been covered yet.

  • The stack-trace and variable-list views of the Debugger window are at the top of the window. For many screens, vertical screen real estate is more valuable than horizontal screen real estate. Debug → Toggle Debugger Layout will make those panes appear at the left side of the window, allowing you to see more of the editor view.

  • The Breakpoints window, available through Window → Tools → Breakpoints or the breakpoints toolbar icon, does more than display the breakpoints you set in the margins of your code. You can also set symbolic breakpoints in your code or in Apple-supplied libraries. For ...

Get Step into Xcode Mac OS X Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.