Xcode Debugging Guide
PDF
Introduction
Debugging Essentials
Building a Product with Debugging Symbols
DWARF Debug Information Format
Debugging in the Text Editor
Debugger Strip
Gutter Shortcut Menu
Debugger Datatips
Debugging in the Mini Debugger
Debugging in the Debugger Window
Viewing Stack Frames in the Debugger Window
Viewing Variables in the Debugger window
Viewing Global Variables
Viewing Disassembly Code and Processor Registers
Debugging in the Console
Managing Program Execution
Using Breakpoints
Managing Breakpoints
Viewing Breakpoints
Adding File-Line Breakpoints
Adding Symbolic Breakpoints
Adding C++ Exception Breakpoints
Importing and Exporting Breakpoints
Grouping Breakpoints
Removing Breakpoints
Turning Breakpoints On/Off
Using Breakpoint Templates
Conditionalizing Breakpoints
Creating Breakpoint Actions
Using Watchpoints
Pausing on Core Services Debugging Functions
Viewing Variables and Memory
Setting the Variable Display Format
Using Data Formatters
Writing Data Formatters
Data Formatter Example
Monitoring the Value of an Expression
Browsing Memory
Viewing Shared Libraries
Modifying Running Code
Fix Command Overview
Supported Fixes
GDB and the Fix Command
Debugging with Patched Code
Using Fix and Continue
Fix Command Restrictions
Fix Command Restrictions Reported by GDB
Additional Fix Command Restrictions
Debugging Programs Remotely
Configuring Remote Log-in
Creating a Shared Build Location
Configuring an Executable for Remote Debugging
Low-Level Debugging Support
Accessing Mac OS X Library Debug Symbols
Using Guard Malloc
Debugging Preferences
Revision History