title: LLDB: Couldn't IRGen expression
body: <p>When I'm running a unit test and want to debug something, I set a breakpoint and type for instance &quot;po myVariable&quot;. The response I get from LLDB is:</p>
  <blockquote>
  <p>error: Couldn't IRGen expression, no additional error</p>
  </blockquote>
  <p>Example:</p>
  <p>I have the smallest little unit test defined here:</p>
  <pre><code>class MyExampleTests: XCTestCase {
      func testLLDB() {
          let world = &quot;World&quot;
          print(&quot;Breakpoint goes here&quot;)
          print(&quot;Hello \(world)&quot;)
      }
  }
  </code></pre>
  <p>I set my breakpoint in &quot;Breakpoint goes here&quot;, and when I run, I do 'po world':</p>
  <blockquote>
  <p>(lldb) po world <br />
  error: Couldn't IRGen expression, no additional error</p>
  </blockquote>
  <p>Any suggestions to how I can make it evaluate my expression instead?</p>