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


source to share





All Articles