Breakpoint condition "foo == YES" is ignored
Breakpoint condition "foo == YES" is ignored
- Subject: Breakpoint condition "foo == YES" is ignored
- From: Jerry Krinock <email@hidden>
- Date: Sun, 02 Feb 2014 20:45:58 -0800
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