Xcode Version 6.0 (6A279r): [Swift, LLDB, Xcode] Debug Area does not display argument values for custom operator when using generic arguments

Originator:janoschhildebrand
Number:rdar://17279542 Date Originated:12-Jun-2014
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 6.0 (6A279r)
Classification:UI/Usability Reproducible:Always
 
Summary:
When stopping at a breakpoint in a generic implementation of an operator function, the argument values are not available in the Xcode debugger and printing their values from the lldb prompt does not work either.

This works correctly for a non-generic operator implementation or a generic function that does not implement an operator.

For examples see the attached Xcode project and stop in each of the defined functions.

Steps to Reproduce:
Open the attached Xcode project and break in the invocation of the first function.

Expected Results:
The variables lhs, rhs, test, test2 should have their values displayed in the variable view of the Debug Area. 

Printing their values from the lldb prompt should work (i.e. 'e lhs')

Actual Results:
The variables are displayed but their values are not and printing them from the lldb prompt does not work either.

Version:
Xcode 6 - Beta 1 (6A215l)
Swift version 1.0 (swift-600.0.34.4.5)
OS X 10.10 (14A238x)

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!