Access UIDynamicAnimator's debugEnabled in lldb?

Hi all:


I watched the WWDC15 talked titled What's New in UIKit Dynamics and Visual Effects. Around the 16:00 minute mark the speaker refers to UIDynamicAnimators debugEnabled feature.


He states:


• Pause the debugger

• Find a reference to your UIDynamicAnimator

• Set debugEnabled to true


Now, this is likely something very trivial. However, my LLDB skills are poor. If anyone could enlighten me as to how I would go about doing this the right way, it would be very much appreciated.


The steps I've currently tried are:


• Run the app

• Hit 'pause' in the debug area

• Search in local variables segment to the left of the console (it's always blank)

• I've tried referring to the animator by the variable name I gave it, 'animator', but the console returns an error stating the command is invalid

• I've tried using 'expr animator.debugEnabled = true' - same issue.


Do I need to edit my scheme to be in a specific mode? Really quite lost.

Thanks in advance for any help.

I guess I'm quite late but I've found the answer here:
https://astralbodi.es/2015/07/16/uikit-dynamics-turning-on-debug-mode/


Try key-value:

animator.setValue(true, forKey: "debugEnabled")
Access UIDynamicAnimator's debugEnabled in lldb?
 
 
Q