• 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: Can't get debugger to stop at breakpoints in project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't get debugger to stop at breakpoints in project


  • Subject: Re: Can't get debugger to stop at breakpoints in project
  • From: email@hidden
  • Date: Sun, 6 Jun 2004 18:34:31 -0700

You need to configure the executable to use GDB for the debugger. Use the menu Project->Edit Active Executable, then scroll down to 'Launch Configuration' and change 'Launch Using' to 'GDB'.

-ChrisF


On Jun 3, 2004, at 9:43 AM, Rick Hoge wrote:

I am trying to run an Xcode project (Obj-C/Cocoa) in the debugger and for some reason it won't stop at any of my breakpoints. I am using the Development build style, with debug symbols ON, unstripped build set to YES, and optimization turned off. I'm pretty sure it's something in the build settings, but don't really know these well enough to find it (have been trying for some time now!).

Another possible reason for the difficulties is that this is actually a mixed Java/Obj-C Cocoa app and the debugger window displays a message to the effect that it is starting the Java debugger when the app is launched. Is it possible that the presence of Java code triggers this debug mode and prevents the Objective-C breakpoints from being used? If so, is there a way to force the debugger to run for Objective-C and not Java?


TIA again,
Rick
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


References: 
 >Can't get debugger to stop at breakpoints in project (From: Rick Hoge <email@hidden>)
 >Re: Can't get debugger to stop at breakpoints in project (From: Rick Hoge <email@hidden>)

  • Prev by Date: Re: Setfile -a C doesn't work for files anymore?
  • Next by Date: Re: Exception while stepping in debugger
  • Previous by thread: Re: Can't get debugger to stop at breakpoints in project
  • Next by thread: Strip headers from imbedded frameworks
  • Index(es):
    • Date
    • Thread