lldb "Couldn't materialize struct" when asked for register
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