title: Why does Visual Studio fail to set a conditional breakpoint on this simple C# property?
body: <p>In my C# object, I set a conditional breakpoint with the condition <code>value == "Status"</code> in the setter of this property. Normally it's decorated with a PostSharp aspect, but I've commented that out in this case, and it's still having trouble.</p>
  
  <pre><code>public virtual string Name
  {
      get
      {
          return _name;
      }
      set
      {
          _name = value; // breakpoint here
      }
  }
  </code></pre>
  
  <p>The first time execution reaches the breakpoint, VS displays an error:</p>
  
  <p><img src="https://i.stack.imgur.com/DTtsy.png" alt="Visual Studio MessageBox"></p>
  
  <p>EDIT - for searchability, the message is this:</p>
  
  <blockquote>
    <p>The following breakpoint cannot be set:</p>
    
    <p>At (file).cs, line 137 character 17 ('(class).Name', line 12), when 'value == "Status"' is true </p>
    
    <p>The function evaluation requires all threads to run.</p>
  </blockquote>
  
  <p>Here's what the Threads window looks like:</p>
  
  <p><img src="https://i.stack.imgur.com/9x9NK.png" alt="Debugger Threads window"></p>
  
  <p>Anyone seen this before, or have any ideas what might be causing the debugger to baulk at this seemingly-simple case? Might it have something to do with the sleeping thread?</p>