In the latest Xcode 8 beta, while debugging I’m getting a lot of those dreaded “Couldn’t materialize” errors from LLDB, where it can’t get the value of a variable. To be precise, the variable’s value doesn’t show up in the variables pane, and when I try to print it with LLDB I get:
error: Couldn't materialize: couldn't get the value of variable size: variable not available
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression
This is intermittent, but it happens even in debug builds, when I’m stopped at an ordinary breakpoint (not crashed).
It does seem to go away if I turn off the Address Sanitizer, but for obvious reasons I prefer to leave that on when I’m debugging.
Anyone else getting a lot of these in Xcode 8? Is it known to Apple yet?
—Jens
PS: Xcode 8 beta 6, latest macOS Sierra beta, building a Mac target, debugging C++ code.