title: Can't Inspect Variables When Debugging .NET Async/Await Functions
body: <p>I have a .NET 4.5 proj that is using <code>async/await</code> functionality.</p>
  
  <p>When i try to inspect/quickwatch a variable reference after an await statement, i get the following:</p>
  
  <blockquote>
    <p><code>The name 'id' does not exist in the current context</code></p>
  </blockquote>
  
  <p>Know how to fix this so i can debug it?</p>
  
  <p>Edit-- here's the code</p>
  
  <pre><code>    [Fact]
      public async Task works_as_expected()
      {
          var repo = Config.Ioc.GetInstance&lt;IAsyncRepository&lt;Customer&gt;&gt;();
  
          var work = Config.Ioc.GetInstance&lt;IUnitOfWork&gt;();
          Customer c= new Customer()
          {
              FirstName = "__Micah",
              LastName = "__Smith_test",
              DateCreated = DateTime.Now,
              DateModified = DateTime.Now,
              Email = "m@m.com",
              Phone = "7245551212"
          }; 
  
          var id=await repo.Insert(c);
          // i can't inspect the value of id
          Assert.True(id &gt; 0);
      }
  </code></pre>