LLDB “Couldn’t materialize” errors when Address Sanitizer is on
LLDB “Couldn’t materialize” errors when Address Sanitizer is on
- Subject: LLDB “Couldn’t materialize” errors when Address Sanitizer is on
- From: Jens Alfke <email@hidden>
- Date: Tue, 06 Sep 2016 16:23:05 -0700
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. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden