title: How to set memory breakpoint in Eclipse
body: <p>Could anyone tell me how to set memory breakpoint in Eclipse (C++)?</p>
  
  <p>for example:</p>
  
  <pre><code>int a = 0;
  for(int i = 0; i &lt; 100; i++)
  {
    if(i == 50) a = 50;
  
  }
  </code></pre>
  
  <p>I want to detect the action when a is assigned to a new value.</p>
  
  <p>I know in Visual Studio we should set memory break point by getting the address of <code>a</code> (i.e. <code>&amp;a</code>). Is there an equivalent way in Eclipse?  </p>
  
  <p>Your help would be highly appreciated. Thanks.</p>