• 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 doesn't work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Breakpoints doesn't work


  • Subject: Re: Breakpoints doesn't work
  • From: Dave Hersey <email@hidden>
  • Date: Fri, 16 Nov 2007 13:26:39 -0500

On Nov 16, 2007, at 9:13 AM, Roni Music wrote:

I've just upgrade to Leopard (on a second volume) and Xcode 3.0

The old Xcode project imported OK and I've got my project to build OK but in debug build,
breakpoints doesn't work (the blue arrow changes to a yellow arrow with a blue frame).


The debugger console shows a warning:
Warning - No location found for "Main.cpp:1455" where I have set the breakpoint.


I had to specify the executable in the Executable group in Groups and files for Xcode to launch the program,
maybe this meesed things up??


The original project works fine if I boot up in Tiger and use Xcode 2.4.1

Thanks for any help,
Rolf

I didn't do anything to the executable's group (like you did) but I've had similar problems with breakpoints occasionally not working and displaying as "gold on blue." In the Run menu, breakpoints are activated and in the breakpoints window, the breakpoints themselves are active. Even if I change the options for the individual breakpoints or remove/add them again while the build is running, the breakpoints don't fire. I've also seen the warnings you mentioned.


At other times, everything works fine.

I'm not sure what's going on since I'm building and running the same way every time--just build and debug...

In any case, what I've found gets things working is some combination of cleaning the project, removing the breakpoints, and then building a debug build again. I can't give you any more information than that because I really haven't found a pattern. Sometimes I need to do that more than once to get things working again. It feels like something is flaky with Xcode but I can't narrow this down enough to even file a bug report.

I'm not sure if it's relevant, but I'm seeing this on a dual-G4.

- d

_______________________________________________
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: 
 >Breakpoints doesn't work (From: "Roni Music" <email@hidden>)

  • Prev by Date: Re: GNU Make project in XCode 3.0?
  • Next by Date: Breakpoints doesn't work - more info
  • Previous by thread: Breakpoints doesn't work
  • Next by thread: Breakpoints doesn't work - more info
  • Index(es):
    • Date
    • Thread