• 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: Also in ObjC... Re: blowing right by breakpoints
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Also in ObjC... Re: blowing right by breakpoints


  • Subject: Re: Also in ObjC... Re: blowing right by breakpoints
  • From: Chris Friesen <email@hidden>
  • Date: Mon, 9 Jan 2006 13:24:55 -0800

If the breakpoints window shows a '-' in the enable/disable checkbox, while debugging, then the breakpoint is 'pending'. This means either A: compiler didn't generate symbols for that file/function so the debugger couldn't find a location for the breakpoint, B the debugger has not yet loaded the full debugging symbols or C the shared library/bundle that contains the code in question has not been loaded. Does the debugger stop at symbolic breakpoints? Can you debug any of the ObjC examples in /Developer/Examples/AppKit?

A. Make sure you are building with a build configuration that is generating debugging symbols. Check the target build settings and the detailed build log for ether '-g', '-gused' or '-gfull' is set when compiling the sources you are breaking on. 

B. Try going to the shared libraries window via the menu Debug->Tools->Shared LIbraries... and changing the Default Level for User Libraries to 'All'. Start debugging.

C. If the addresss in the Shared Libraries window is non-zero then the module is loaded.

 If non of that resolves things then you need to file a Radar with the Xcode-gdb log.

Do the following in terminal then run Xcode, reproduce the problem and attach the log to your Radar:

defaults write com.apple.Xcode PBXGDBDebuggerLogFileName /tmp/XCGDBLog
defaults write com.apple.Xcode PBXGDBDebuggerLogToFile YES

-ChrisF

On Jan 9, 2006, at 11:07 AM, Nigel Perry wrote:

Hi All,


I've just installed Tiger & XCode and it isn't stopping at *any* breakpoints in the ObjC program (which I did not write, source download) I'm trying. Looking at the GDB window also I see is the "run" being issued. The breakpoints window shows the breakpoints. I thought I'd missed something really obvious, but maybe I'm not quite that thick given Bob's request (unless we're a pair ;-)). Anybody enlighten me as to how to get breakpoints to fire?


TIA,

Nigel


 _______________________________________________
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: Also in ObjC... Re: blowing right by breakpoints
      • From: Nigel Perry <email@hidden>
References: 
 >Also in ObjC... Re: blowing right by breakpoints (From: Nigel Perry <email@hidden>)

  • Prev by Date: Re: Using CVS in Xcode (very odd configuration).
  • Next by Date: Re: Class Browser with Ruby
  • Previous by thread: Re: Also in ObjC... Re: blowing right by breakpoints
  • Next by thread: Re: Also in ObjC... Re: blowing right by breakpoints
  • Index(es):
    • Date
    • Thread