Fast conditional breakpoints in Xcode 8.2?

I just tried to create a conditional breakpoint in the XCODE GUI by clicking to add a breakpoint, then editing it and typing an expression into the box Condition

. However, the breakpoint always fires.

I finally redid it before typing true

or false

in the condition field and even that didn't work.

Curiously, setting a conditional breakpoint on an Objective-C line in the same (mixed Swift / Objective-C) project works .

It seems to me that the breakpoint conditions are completely ignored when the breakpoint is in your Swift source code.

Are other developers seeing the same problem? Is there some "secret sauce" for getting Swift breakpoints to work that I am missing?

+3
xcode swift conditional-breakpoint


source to share


No one has answered this question yet

Check out similar questions:

1348
How to "add existing frames" in Xcode 4?
981
How to download Xcode DMG or XIP file?
928
How do I call Objective-C code from Swift?
902
# pragma in Swift?
870
Swift Beta: Sorting Arrays
868
Xcode error "Could not find developer disk image"
818
Git ignore file for Xcode projects
746
Failed to start Xcode process: security
656
#ifdef Swift replacement
575
The vs version for build in Xcode



All Articles
Loading...
X
Show
Funny
Dev
Pics