title: How to set a breakpoint conditionally on a variable for a particular value in Netbeans?
body: <p>I know that we can place a breakpoint on a line conditionally by Right Click on breakpoint->Properties->Condition . But I don't know the exact syntax. Let's say for the following line</p>
  
  <pre><code>function(name,age);
  </code></pre>
  
  <p>I want to break on the line, only when "name" is equal to "XYZ". I tried to put condition like name="XYZ" and name=="XYZ". It does not help. Appreciate your help.</p>