title: Swift: How to view the values of variables displayed in Xcode's watch window?
body: <p>Simple question - how can you view the values of variables in Xcode's watch window when using Swift?</p>
  
  <p>Here's an example, see how mdn has the value 2067134273 yet its not possible to view that in the watch window (ObjectiveC.NSObject doesn't expand to anything).</p>
  
  <p><img src="https://i.stack.imgur.com/egnmX.png" alt="enter image description here"></p>
  
  <p>I thought this might be due to the fact that its an optional, however its not that straightforward because look at the display of onss which is displayed as "Optional NSString", its possible to view that and its an NSString?, while nss which is a non optional NSString doesn't have its value displayed.</p>
  
  <p>Here's their declarations:</p>
  
  <pre><code>var nss:NSString = "NSString"
  var ss = "Swift string"
  var onss:NSString? = "Optional NSString"
  </code></pre>
  
  <p>So when debugging with Xcode how can the values of mdn and nss be viewed, and preferably be made to be displayed automatically without having to use the console?</p>