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

Re: debugger


  • Subject: Re: debugger
  • From: Chris Friesen <email@hidden>
  • Date: Thu, 29 Jun 2006 21:50:49 -0700


On Jun 29, 2006, at 7:36 PM, Erik Schmidt wrote:

to anyone who works at apple:

is anythign begin done about the debugger not working in xcode except in the main file?
_______________________________________________



I think someone would have noticed that if it was happening to everyone. Are your breakpoints orange when you are debugging? This means the breakpoint is pending, gdb wasn't able to locate the requested file and line number in the symbols. So either the files weren't built with debugging symbols or Xcode chose the wrong build product (executable/shlib/bundle) to set the breakpoint in. If the breakpoints are blue when you are debugging then maybe you weren't calling the code in the other files... put in a printf() to check.


Step 0.
	- Read the Release Notes

Step 1.
- Ensure you are using the 'Debug' build configuration. Clean the project, and build it again. Browser the detailed build results to ensure the problem files are built with debugging symbols.


Step 2.
- Disable 'load symbols lazily' in the Xcode Preferences Debugging tab, menu Xcode->Preferences...
- Try debugging again. If this works then it means Xcode was guessing the wrong location for your breakpoints. You can edit the location column of the breakpoints window to enter the correct shlib/bundle/ executable or leave lazy symbol loading disabled.


Step 3.
	- Try to reproduce the problem using an example in /Developer/Examples

Step 4.
- If you are using DWARF switch back to Stabs. If that solves it then file a Radar so they can fix DWARF.


Step 5.
	- There is no Step 5.

-ChrisF

_______________________________________________
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: 
 >debugger (From: Erik Schmidt <email@hidden>)

  • Prev by Date: Re: debugger
  • Next by Date: Workaround for xcode 2.3 hanging (rainbow cursor) on opening projects?
  • Previous by thread: Re: debugger
  • Next by thread: Workaround for xcode 2.3 hanging (rainbow cursor) on opening projects?
  • Index(es):
    • Date
    • Thread