• 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: Symbolic Breakpoints
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Symbolic Breakpoints


  • Subject: Re: Symbolic Breakpoints
  • From: Richard Somers <email@hidden>
  • Date: Wed, 21 Sep 2011 14:25:40 -0600

On Sep 21, 2011, at 1:49 PM, Quincey Morris wrote:

>> I made a brand new project in Xcode 4.1 and got the same results as before. gdb crashes when just using a method name like 'keyDown:' for the symbolic breakpoint. It would appear that this has been fixed in Xcode 4.2. Also you have accurately described the breakpoint multi-resolve upon running along with the breakpoint list functionality. I would agree that it appears that symbolic resolution is not finished yet in lldb.
>
> Does it crash when you *add* a symbolic breakpoint in gdb, or when you try to use gdb after having set a symbolic breakpoint in lldb? It's certainly possible there's an incompatibility in the saved state information.

It does not crash when adding the symbolic breakpoint 'keyDown:' in gdb. It crashes when running.


>> Another question, is it possible in Xcode 4 to set a symbolic breakpoint on Apple supplied libraries or frameworks? For example in OpenGL Profiler you can set a breakpoint on a specific OpenGL symbol that is provided by an Apple library or framework.
>
> Yes, you should be able to set a breakpoint on any symbol.


Results of Xcode 4.1 symbolic breakpoint testing.

lldb will not break on any Apple supplied library symbols.

gdb will break on some Apple supplied library symbols but not all.

     [NSObject alloc]    Yes

     [NSUndoManager alloc]     No

--Richard

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Symbolic Breakpoints
      • From: Quincey Morris <email@hidden>
References: 
 >Symbolic Breakpoints (From: Richard Somers <email@hidden>)
 >Re: Symbolic Breakpoints (From: Jens Alfke <email@hidden>)
 >Re: Symbolic Breakpoints (From: Richard Somers <email@hidden>)
 >Re: Symbolic Breakpoints (From: Quincey Morris <email@hidden>)
 >Re: Symbolic Breakpoints (From: Richard Somers <email@hidden>)
 >Re: Symbolic Breakpoints (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Gestalt
  • Next by Date: Re: Symbolic Breakpoints
  • Previous by thread: Re: Symbolic Breakpoints
  • Next by thread: Re: Symbolic Breakpoints
  • Index(es):
    • Date
    • Thread