• 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: lldb equivalent of .gdbinit and future break?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lldb equivalent of .gdbinit and future break?


  • Subject: Re: lldb equivalent of .gdbinit and future break?
  • From: Sean McBride <email@hidden>
  • Date: Fri, 08 Feb 2013 14:31:29 -0500
  • Organization: Rogue Research Inc.

On Fri, 8 Feb 2013 11:20:45 -0800, Jim Ingham said:

>That is a known bug.  Because lldb supports debugging more than one
>executable at a time (in lldb we call them "targets), the breakpoints
>need to be set and stored "per target".  But that means that we didn't
>have a natural place to store breakpoints which aren't associated with
>any target.  We have to add an ur-target to hold these breakpoints.
>
>BTW, lldb handles its init files the same way gdb does, ~/.lldbinit gets
>run BEFORE any files you have specified on the command line get read in
>(so that you can modify how they are read in if needed) and then if
>there is a .lldbinit file in the CWD it gets read in after the file
>provided on the command-line is loaded.  That's why breakpoints set in
>the ~/.lldbinit are set with NO targets available, and currently don't work.

Thanks for the explanation Jim.

>For now you can either make a .lldbinit in the directory from which you
>run lldb

In the context of Xcode, where would this be?  That is, I don't run lldb myself, Xcode does whatever it does. :)

>, and put the breakpoints there, or make a file somewhere and
>use "command source" to add the breakpoints manually.

That works, thanks.  I just have to remember to it, but at least it's just one command.

Cheers,

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada



 _______________________________________________
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: lldb equivalent of .gdbinit and future break?
      • From: Jim Ingham <email@hidden>
References: 
 >lldb equivalent of .gdbinit and future break? (From: Sean McBride <email@hidden>)
 >Re: lldb equivalent of .gdbinit and future break? (From: Jim Ingham <email@hidden>)

  • Prev by Date: Re: lldb equivalent of .gdbinit and future break?
  • Next by Date: Re: lldb equivalent of .gdbinit and future break?
  • Previous by thread: Re: lldb equivalent of .gdbinit and future break?
  • Next by thread: Re: lldb equivalent of .gdbinit and future break?
  • Index(es):
    • Date
    • Thread