Quick debugging in Xcode: no variables in the debugging area

At some point, I came across strange behavior when debugging swift code. When I process a breakpoint, the variables in the debug area are empty.

For example:

debug

For example, if I try to print self, I get the following message:

Printing description of self:
self = <Unable to determine byte size.>

In general, it looks like I'm in release mode, however, I double-checked the configuration and everything seems to be in order:

  • The current circuit has a debug configuration.
  • No optimization level

Xcode 6.4

UPDATE: code debugging objcin the same project works well.

UPDATE 2: I switched to Xcode 7 and swift 2.0, and the problem was resolved, but suddenly I had the same problem.

: https://twittercommunity.com/t/xcode-7-debugger/50792

+4

All Articles