Chapter 22. More About Debugging

<feature><title>In This Chapter</title>
  • Debugging Tips

  • Customizing the Variable Display

  • Augmenting Breakpoints

  • Debugging Memory Errors

  • The In-Editor and Mini Debuggers


We’ve done a fair amount of debugging with Linear in Part I of this book, but one simple application can’t demonstrate every tip and technique. This chapter expands on the topic of debugging, offering some tips, and demonstrates some additional tools, including how to tackle the knotty problem of debugging memory errors.

Debugging Techniques

We’ve been using the Debugger window since Chapter 2, “Simple Workflow and Passive Debugging.” Here are a few points that haven’t been covered yet:

  • The stack-trace and variable-list views of the Debugger window ...

Get Xcode 3 Unleashed 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.