stringWithFormat not working in LLDB

Originator:futuretap
Number:rdar://15261415 Date Originated:18-Oct-2013 01:32 PM
Status:Duplicate/12787141/Open Resolved:
Product:Developer Tools Product Version:5.0 (5A1413)
Classification:Other Bug Reproducible:Always
 
This doesn't work:

(lldb) po [NSString stringWithFormat:@"%f", 1.0]
error: too many arguments to method call, expected 1, have 2
error: 1 errors parsing expression

Apparently LLDB can generally not evaluate functions with variable argument lists.

See also:
http://stackoverflow.com/q/19448101/235297
http://stackoverflow.com/q/19339493/235297

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!