During the last year or so, lldb has been increasingly been giving me the 
dead—end “Couldn’t materialize struct” when I select an external framework 
(e.g. Apple) function in a call stack and try to print registers.  Example:

(lldb) po $rdx
error: Couldn't materialize: couldn't read the value of register rdx
Errored out in Execute, couldn't PrepareToExecuteJITExpression

Today I was able to work around one of these by setting a symbolic breakpoint 
in the method of interest (so it’s now going to be at the top of the call 
stack) and executing the code again.  po $rdx then printed my argument.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to