Longer backtrace from CA_DEBUG_TRANSACTIONS

I am tracking down an issue where CoreAnimation finds that I am deleting a stream with an uncommitted CATransaction. This is probably a view animation group with a completion block. As suggested in the NSLog post, I have set CA_DEBUG_TRANSACTIONS and I do get an error and a line back when this happens.

CoreAnimation: warning, remote thread with uncommitted CATransaction

Unfortunately, the backtrace goes back 15 levels, and none of those levels are particularly useful. And almost all of them seem to be very common calls - things like CALayer needsDisplayInRect:

- so setting a breakpoint doesn't suggest it right away.

Is there a convenient way to tell the system, "Live it! Give me a deeper backline!"

+3


source to share


1 answer


Starting with iOS 10.0 / macOS Sierra, the limit has been increased to 512 stack frames.



0


source







All Articles