• 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: Problem with breakpoints in constructors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with breakpoints in constructors


  • Subject: Re: Problem with breakpoints in constructors
  • From: Jim Ingham <email@hidden>
  • Date: Fri, 28 Jul 2006 12:00:12 -0700

This was fixed in Xcode 2.3 when you use file & line number to specify the breakpoints (for instance by clicking in the Source Pane in the gutter.) If you do it by symbol name, it doesn't work yet.

The problem was that each constructor & destructor is actually implemented by 3 or 4 functions, and up to Xcode 2.3 we were only setting the breakpoint in one of them. In Xcode 2.3 we fixed the file & line specification so it broke in all the instances (this means template function breakpoints will also get all the instantiations.)

We'll get the symbol name pretty soon. This shouldn't be as big a problem for Xcode users, however, since the natural way to set breakpoints is by file & line.

Jim

On Jul 28, 2006, at 11:46 AM, Sean McBride wrote:

On 2006-07-28 14:44, david ralley said:

I've had a consistant and on-going problem setting breakpoints in
constructors in a C++ project I'm working on. Breakpoints in all other
functions work as expected, and I can step into constructors from other
functions, but I can't break directly in a constructor.


I searched the archives, and there are a few mentions of this, but none
mention a fix. Has anyone else seen this, know of a fix, or know if
XCode 2.3 fixes this issue?

This problem drove me nuts for a long time. But with Xcode 2.3 and using dwarf I no longer have the problem. Give that a try.

--
____________________________________________________________
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

_______________________________________________ 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: 
 >Problem with breakpoints in constructors (From: david ralley <email@hidden>)
 >Re: Problem with breakpoints in constructors (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: Re: How do I create apps with the Pro grey interfaces ?
  • Next by Date: re: Problem with breakpoints in constructors
  • Previous by thread: Re: Problem with breakpoints in constructors
  • Next by thread: re: Problem with breakpoints in constructors
  • Index(es):
    • Date
    • Thread