Thursday 15 May 2014

objective c - Is there a way to set a breakpoint at the start of any NSLog statement? -


Part of a big code base is printing strange NSLog statement, and I try I am going to find out where it is coming from. Is there a way to insert 1 breakpoint at the beginning of every NSLOG call, so I can see that it is a breakpoint Instead of inserting it manually, which is called NSLog ?

Xcode 6 :

steps 1 : On the Navigator on the left, Breakpoint Navigator ( Command + 7 ):

Step 2 : Click + on the bottom left button ( Add a new breakpoint ), Then select Add symbolic breakpoint ... :

 Screenshot for steps 1 and 2

Step 3 : Symbol , type NSLog .

screenshot for step 3

Alternatively, you can E can only do the same thing in D one ???? Breakpoints รข ???? Create Signal Breakpoints .

Fo Xcode 5 , see.

No comments:

Post a Comment