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

Re: Breakpoints not Hit


  • Subject: Re: Breakpoints not Hit
  • From: Michael Rice <email@hidden>
  • Date: Sat, 4 Nov 2006 02:16:37 -0600

1. I'm using STABS.
2. I switched to DWARF, but it didn't fix the problem.
2a. I switched to DWARF with dSYM file and it *did* fix the problem.
3. Yes, they are all built with debug turned on.
4. Yes, the breakpoints show correctly in the breakpoint window.

Other information:
5. With STABS selected, the breakpoints are hit when I debug the application subproject instead of the parent project.
6. Even with DWARF with dSYM File selected, the GDB "No location for ..." warning is still displayed.
7. I tested on PowerMac G5 running 2.3 and it behaves the same, except that switching to DWARF with dSYM does not fix the problem.


Michael

On Nov 3, 2006, at 12:04 PM, Scott Tooker wrote:

Some additional info that is needed:

1) Are you using DWARF or STABS for the debug format?
2) If you are not using DWARF, does switching to DWARF solve the problem?
3) Just to verify, do you have debug symbols generated for all the libraries and application?
4) When you look in the breakpoints window from the parent project, do you see the breakpoint you have set?


Scott

On Nov 3, 2006, at 7:59 AM, Michael Rice wrote:

I'm using Xcode 2.4.1 on MacBook Pro. I have a project that is a collection of C++ subprojects (libraries and an application). If I open a subproject and set a breakpoint in a method and then switch back to the parent project and run the application target, the breakpoint is never hit.

I get a warning from GDB: "No location found for "mainwindow.cpp: 635". This is my breakpoint location. The breakpoint is in a source file in the application.

Any ideas on how to get this working?

Thanks.
_______________________________________________
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:
40knology.net


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
  • Follow-Ups:
    • Re: Breakpoints not Hit
      • From: Chris Friesen <email@hidden>
References: 
 >Breakpoints not Hit (From: Michael Rice <email@hidden>)
 >Re: Breakpoints not Hit (From: Scott Tooker <email@hidden>)

  • Prev by Date: Re: Builds cause iTunes to stutter
  • Next by Date: Re: Why are Xcode "updates" so friggin' big??
  • Previous by thread: Re: Breakpoints not Hit
  • Next by thread: Re: Breakpoints not Hit
  • Index(es):
    • Date
    • Thread