Breakpoints on synthesized properties need set/get selectivity

Originator:recordtronic
Number:rdar://10093418 Date Originated:9/8/2001
Status:Closed Resolved:
Product:Xcode Product Version:4.1/4B110
Classification:Enhancement Reproducible:Always
 
Summary:
When setting a breakpoint on a @synthesized property, the developer needs to be able to select which of the two methods that line of source code can represent the breakpoint applies to.

Steps to Reproduce:
Open a project with a synthesized property in an Objective-C class, myProperty for the sake of this example.
Set a breakpoint on "@synthesized myProperty" line in implementation. Note no way to set breakpoint on synthesized setMyProperty method without resorting to adding a symbolic breakpoint and typing the full name of the method.
Run program

Expected Results:
With a way to select which synthesized method, debugger only halts at selected setter or getter, not both.

Actual Results:
Program halts for both setter and getter.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!