• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Possible Workaround for "Couldn't Materialize Struct"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Possible Workaround for "Couldn't Materialize Struct"


  • Subject: Possible Workaround for "Couldn't Materialize Struct"
  • From: Jerry Krinock <email@hidden>
  • Date: Wed, 15 Apr 2015 19:57:59 -0700

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Possible Workaround for "Couldn't Materialize Struct"
      • From: email@hidden
  • Prev by Date: Re: when in the Xcode new window finding the applications and command line option
  • Next by Date: Re: XCode Crashes and Hangs
  • Previous by thread: Re: when in the Xcode new window finding the applications and command line option
  • Next by thread: Re: Possible Workaround for "Couldn't Materialize Struct"
  • Index(es):
    • Date
    • Thread