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

Conditional breakpoints


  • Subject: Conditional breakpoints
  • From: Todd Ransom <email@hidden>
  • Date: Tue, 15 Jul 2008 14:29:58 -0400

Hello,

I am trying to set a conditional breakpoint in Xcode 3.1 and I can't get it to break no matter what I do. If I remove the condition the breakpoint works fine.

The method I am trying to break on looks like this:

- (void)makeAdjustmentsFromPage: (unsigned)pageNumber

and I have tried several different conditions:

pageNumber > 1
pageNumber>1
(unsigned)pageNumber > 1
(unsigned int)pageNumber > 1

I have tried setting the breakpoint on the method declaration line in the implementation file and down in the code. Nothing I do seems to make any difference. If I pause my app and run info breakpoints in gdb I get this:

3 breakpoint keep y 0x00084a29 in - [AVNRmultiPageViewController makeAdjustmentsFromPage:] at /Users/kinch/ devel/projects/Montage/AVNRmultiPageViewController.m:450
stop only if pageNumber > 1


Which looks fine to me, but I am no expert on gdb. Does anyone have any advice on getting conditional breakpoints to work in Xcode 3.1? I remember fighting with this a while back and finally getting it to work after casting the variables in the condition, but this is not working for me now.

thanks,
Todd Ransom
StoryMill & Montage Development
Mariner Software




_______________________________________________ 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
  • Prev by Date: Re: Download Sizes
  • Next by Date: Re: Re: Download Sizes
  • Previous by thread: Building a kext with Xcode 3.1
  • Next by thread: Editors don't show up in Build Results or Find
  • Index(es):
    • Date
    • Thread