Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 8 debugger doesn't print objects and showing expression produced error

Tags:

ios

xcode8

swift3

I have upgraded Xcode 8 but when I'm debugging, every object showing following error :

expression produced error: error: Couldn't materialize: couldn't get the value of __once: extracting data from value failed
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression

This seems system level error, so I've already tried all possible solutions but still doest work.

like image 860
Sunil Targe Avatar asked Oct 02 '16 06:10

Sunil Targe


1 Answers

I don't know of any bug that would cause this to happen for all types. Except, if this is a Swift project, make sure that you have cleaned and rebuilt all the swift code you depend on from source. At present, Swift really needs the whole world to be built consistently for debugging to work. If that doesn't help, then we will need more details to figure out what is going wrong.

Might be worthwhile to file a bug with http://bugreporter.apple.com since that makes gathering the data needed to solve the problem easier.

like image 52
Jim Ingham Avatar answered Oct 29 '22 01:10

Jim Ingham