• 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: GDB not stopping at breakpoints
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: GDB not stopping at breakpoints


  • Subject: RE: GDB not stopping at breakpoints
  • From: "William E. Linn, Jr." <email@hidden>
  • Date: Wed, 15 Mar 2006 12:44:48 -0500
  • Organization: Linn Software, Inc.

Thanks Sean, that gives Roni a workaround. Is there a workaround for my
case, a Carbon application in C? I did try using rbreak and the name of a C
function I want to debug and gdb reports that it set the breakpoint, but
when I "run", the function in question is entered without breaking. Works
fine on PPC, but not on Intel.

-----Original Message-----
From: Sean McBride [mailto:email@hidden]
Sent: Wednesday, March 15, 2006 11:25 AM
To: Roni Music; email@hidden
Cc: email@hidden
Subject: Re: GDB not stopping at breakpoints

On 2006-03-15 08:00, Roni Music said:

>I have the same problem when running on an Intel Mac
>Most often it doesn't work when setting breakpoints in C++ constructors,
>it always work OK when running on my PPC Mac.
>I can step into the constructor but not break into it.
>It makes debugging very, very hard, for now I have to debug on my PPC
>
>Is this a known problem?
>Should we fill a bug report or is there a setting in Xcode we forgot?

It is a very well known problem.  But there is a workaround:

<http://lists.apple.com/archives/xcode-users/2006/Mar/msg00049.html>

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

References: 
 >Re: GDB not stopping at breakpoints (From: "Sean McBride" <email@hidden>)

  • Prev by Date: CreateUniversalBinary (lipo) calmled even if the project has not been modified
  • Next by Date: Re: One byte bool
  • Previous by thread: Re: GDB not stopping at breakpoints
  • Next by thread: XCode Localization limitation
  • Index(es):
    • Date
    • Thread