Re: po $rdi ==> "Couldn't materialize"
Re: po $rdi ==> "Couldn't materialize"
- Subject: Re: po $rdi ==> "Couldn't materialize"
- From: Jerry Krinock <email@hidden>
- Date: Tue, 22 Jul 2014 12:38:29 -0700
Thank you for the explanation, Jim.
The results of my poking around indicate that you are correct; if I place a breakpoint at the beginning of a method, the $rdi $rsi $rdx registers have the receiver, method, parameters as expected. I also found that my target.spik-prologue was set to *true*
(lldb) settings show target.skip-prologue
target.skip-prologue (boolean) = true
(lldb) settings set target.skip-prologue false
(lldb) settings show target.skip-prologue
target.skip-prologue (boolean) = false
So, this setting, together with the past elusive behavior of gdb, and maybe recent bad luck, may explain why debugging registers has always given me “Couldn’t materialize” lately.
I found another cool tip in “The LLDB Debugger” tutorial [1]. The lldb command
frame variable
when it works (which it doesnt’t always), spits out the receiver, command, parameters, and instance variables. It is a shortcut to typing po $rdi, then po (SEL)$rdi, po $rdx, etc.
So now that I can see the parameters, I need to get back to work on the real problem.
[1] http://lldb.llvm.org/tutorial.html
_______________________________________________
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