User Tools

Site Tools


ios-labs-s14:intermediate-debugging

Debugging

Add breakpoints by clicking on the lighter-grey column to the left of code. Click a breakpoint to disable it. Drag it off the column to delete it.

Breakpoints are triggered through normal execution, and do not require a debug mode. When a program breaks, the console pane will open, allowing you to view objects in scope as well as call methods on those objects for the purpose of inspecting their functionality.

The command to print an Objective-C object in the console is

po OBJECT
ios-labs-s14/intermediate-debugging.txt · Last modified: 2014/02/23 22:54 by mbarboi