• 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
Re: po $rdi ==> "Couldn't materialize"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >po $rdi ==> "Couldn't materialize" (From: Jerry Krinock <email@hidden>)
 >Re: po $rdi ==> "Couldn't materialize" (From: email@hidden)
 >Re: po $rdi ==> "Couldn't materialize" (From: Jerry Krinock <email@hidden>)
 >Re: po $rdi ==> "Couldn't materialize" (From: email@hidden)

  • Prev by Date: Re: po $rdi ==> "Couldn't materialize"
  • Next by Date: input from console window in Xcode
  • Previous by thread: Re: po $rdi ==> "Couldn't materialize"
  • Next by thread: input from console window in Xcode
  • Index(es):
    • Date
    • Thread