title: How to know what changed variable value in xcode swift
body: <p>I have this case where i have a static variable that changes its value somewhere across the app which causing a bug. Without going into details of the code. I need to know if there is a way to to watch this variable. Because on Xcode every time try to watch a variable it gives me this error "error: no variable named 'backend' found in this frame".</p>
  
  <p>So my question is, Is there is any workaround to know which place did change the value of this variable.</p>
  
  <p>Anything other than using watches because its not working for me for some reason with the error mentioned above.</p>