lldb po command shouldn't time out

Originator:futuretap
Number:rdar://11672978 Date Originated:14-Jun-2012 05:19 PM
Status:Open Resolved:
Product:Developer Tools Product Version:4.5 DP1
Classification:Crash/Hang/Data Loss Reproducible:Always
 
14-Jun-2012 05:19 PM Ortwin Gentz:
I tried to do a "po dict" on the lldb command line in Xcode with "dict" being an NSDictionary with a pretty large structure of keys and subkeys.

lldb doesn't print the content and doesn't indicate in any way that it timed out.

(lldb) po dict
(NSDictionary *) $16 = 0x0f58f750 [no Objective-C description available]


When instead I do a "po [dict allKeys]" it works just fine. According to [redacted] with whom I sat down in the WWDC lab that's because of a timeout in LLDB to prevent Xcode's variable printing taking too long.

On the command line,  no timeout should be set because operations can take an arbitrary long time.

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!