User Tools

Site Tools


ios-labs-s14:intermediate-debugging

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ios-labs-s14:intermediate-debugging [2014/02/23 22:54] (current)
mbarboi created
Line 1: Line 1:
 +=====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