Xcode lldb error: can't print out Swift variable - get "$__lldb_injected_self.$__lldb_wrapped_expr_x" instead : <p>Sometimes, when trying to print out a variable in the debugger, the following error message is displayed:</p>

<pre><code>error: warning: &lt;EXPR&gt;:12:9: warning: initialization of variable '$__lldb_error_result' was never used; consider replacing with assignment to '_' or removing it
    var $__lldb_error_result = __lldb_tmp_error
    ~~~~^~~~~~~~~~~~~~~~~~~~
    _

error: &lt;EXPR&gt;:18:5: error: use of unresolved identifier '$__lldb_injected_self'
    $__lldb_injected_self.$__lldb_wrapped_expr_120(     
    ^~~~~~~~~~~~~~~~~~~~~
</code></pre>

<p>This is a known <code>lldb</code> bug (<a href="https://bugs.swift.org/browse/SR-6156" rel="noreferrer">https://bugs.swift.org/browse/SR-6156</a>), but perhaps someone knows a workaround that can be used until that bug is fixed?</p>
