Switching LLDB to selector no longer works for characters without debugging

When researching different programs, I often use the LLDB break -S command to break common selectors, such as "init" and "drawInRect:". However, starting with the LLDB update, this no longer works for selectors without debugging symbols.

For example, in LLDB 320.4.124.10:

(lldb) br s -S drawAtPoint:withAttributes:
Breakpoint 1: where = AppKit`-[NSString(NSStringDrawing) drawAtPoint:withAttributes:], address = 0x000000010b9be060

But in LLDB 320.4.152:

(lldb) br s -S drawAtPoint:withAttributes:
Breakpoint 1: no locations (pending).
WARNING:  Unable to resolve breakpoint to any actual locations.

Assuming this is a poorly documented function (designed to prevent debugging of unwanted user selectors?), And not an error, how do I set breakpoints for such selectors?

+4
source share
1 answer

, , http://bugreport.apple.com/.

(break set -r), .

+2

All Articles