According to this, you can set such a breakpoint by doing this in the lldb console:
breakpoint set
One way to do this with Xcode is to set a breakpoint in the main function or on you AppDelegate applicationDidFinishLaunchin (read: as soon as possible). Then you launch your application, and when it stops at the specified breakpoint, you have access to the lldb console: you enter the above line and press return, and lldb prints something like this:
Breakpoint 3: where = Foundation`NSLog, address = 0x32a3da08
At this point, you resume your application and it will pause again when NSLog is called (pay attention to the call stack using the Debug Navigator).
Alessandro Vendruscolo
source share