iOS Reference Library Apple Developer
Search

Introduction

Finding and eliminating bugs in your code is a critical phase of the development process. Xcode provides advanced debugging facilities, which include debugging from the text editor so that you don’t stray far from your code, and using the mini debugger, which provides a graphical debugging experience that is less intrusive on the running application than other methods. You can also use a more traditional, specialized graphical debugger, or the debugger console.

This document describes the Xcode debugging environments and explains how to trace your program’s execution and view its data. It is intended for developers and system administrators who want to use Xcode to debug programs and analyze their behavior and performance.

Prerequisites: To get the most out of this document, you should be familiar with the basic development features Xcode provides. See Xcode Workspace Guide and Xcode Project Management Guide to learn about basic Xcode usage.

Software requirements: This document is written for Xcode 3.2 and later.

Organization of This Document

The first chapter, “Debugging Essentials,” provides a high-level summary of the Xcode debugging environments.

The next five chapters describe the debugging environments and show how to customize your debugging experience:

The remaining chapters describe general debugging features and capabilities:




Last updated: 2009-10-19

Did this document help you? Yes It's good, but... Not helpful...