title: Override readonly variable lldb swift
body: <p>Is there a way in lldb to overwrite a readonly variable.</p>
  
  <p>For example if you had a struct</p>
  
  <pre><code>struct Object {
      let name: String
  }
  </code></pre>
  
  <p>Doing the following in at a breakpoint in Xcode with lldb</p>
  
  <pre><code>(lldb) expression object.name = "Tom"
  </code></pre>
  
  <p>Will result in</p>
  
  <pre><code>error: &lt;EXPR&gt;:2:19: error: cannot assign to property: 'name' is a get-only property
  </code></pre>
  
  <p>I fully understand why this happens, just want to know if there is an easy way to get around this during debugging?</p>
  
  <p>Please note this is in Swift &amp; <strong>NOT</strong> Objective-C</p>