• 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
lldb "Couldn't materialize struct" when asked for register
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lldb "Couldn't materialize struct" when asked for register


  • Subject: lldb "Couldn't materialize struct" when asked for register
  • From: Jerry Krinock <email@hidden>
  • Date: Mon, 12 Aug 2013 13:49:42 -0700

Lately, when paused at a breakpoint, my attempts to read the parameters of a Cocoa method on the stack fail more often than not, because lldb seems unable to read any of the registers indicated in Apple TN2124 ("Mac OS X Debugging Magic").  For example,

(lldb) po $rsi
error: Couldn't materialize struct: Couldn't read rsi (materialize)
Errored out in Execute, couldn't PrepareToExecuteJITExpression

Same results for all the other relevant registers.  Indeed,

(lldb) register read
General Purpose Registers:
       rbx = 0x00000001072b6d40
       rbp = 0x00007fff5fbfd310
       rsp = 0x00007fff5fbfd2b0
       r12 = 0x00007fff9636e938  "_setDontSuppressLayerAnimation:"
       r13 = 0x00007fff5fbfdc00
       r14 = 0x00007fff8f64c240  libobjc.A.dylib`objc_msgSend
       r15 = 0x00007fff8f64c240  libobjc.A.dylib`objc_msgSend
       rip = 0x00007fff95cfa304  AppKit`-[NSTabView setFrameSize:] + 218
13 registers were unavailable.

What does this mean, and is there a workaround for it?

Thanks,

Jerry Krinock


 _______________________________________________
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


  • Prev by Date: Re: Two internal clang compiler errors
  • Next by Date: Any way to place files into app's Documents directory on device?
  • Previous by thread: Re: Two internal clang compiler errors
  • Next by thread: Any way to place files into app's Documents directory on device?
  • Index(es):
    • Date
    • Thread