• 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: Breakpoint condition "foo == YES" is ignored
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Breakpoint condition "foo == YES" is ignored


  • Subject: Re: Breakpoint condition "foo == YES" is ignored
  • From: Roland King <email@hidden>
  • Date: Mon, 03 Feb 2014 12:59:52 +0800

I've never made one of those work, tried everything I could think of one day, even in the simplest case like a BOOL it stopped every time.

I put it down as a "thing which just doesn't really work" and moved on.

On 3 Feb, 2014, at 12:45 pm, Jerry Krinock <email@hidden> wrote:

> Sometimes breakpoint conditions work for me, but usually they don’t.  Here is an example?
>
> • A method has a BOOL parameter ‘foo’
> • I set a breakpoint in the method.
> • Activate the Breakpoint Navigator.
> • I execute a secondary click on the breakpoint.
> • From the contextual menu which appears, select “Edit Breakpoint”
> • In the “Condition” field, enter:  foo == YES
> • Run the product into this method.  It stops at my breakpoint.
> • I hover mouse over ‘foo’ in the method.
>
> Expected Result:
> foo should be YES, because that was a breakpoint condition.
>
> Actual Result:
> foo is NO, or ‘0’ if I “p (int)foo”
>
> What did I do wrong?
>
> 58-second video showing what I did…
>
> http://www.youtube.com/watch?v=oDwPkAecMHI
>
> Thanks!
>
>
> _______________________________________________
> 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


 _______________________________________________
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: 
 >Breakpoint condition "foo == YES" is ignored (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Breakpoint condition "foo == YES" is ignored
  • Next by Date: Re: Breakpoint condition "foo == YES" is ignored
  • Previous by thread: Breakpoint condition "foo == YES" is ignored
  • Next by thread: Re: Breakpoint condition "foo == YES" is ignored
  • Index(es):
    • Date
    • Thread