title: Watching each and every cell of a C++ Matrix in Visual Studio?
body: <p>I get an error like <strong>CXX0059: Error: left operand is class not a function name</strong> in VS2010, when i try to watch the values in columns and rows of my Jacobian Matrix.</p>
  
  <p>For example; i have a matrix like </p>
  
  <pre><code>MatrixXf j = MatrixXf::Zero(2,mList.size());
  ...
  ...
     for(...)
     {
       j(0, col) += (-mList[i]-&gt;mLength*sin(angle));
       j(1, col) += ( mList[i]-&gt;mLength*cos(angle));
     }
  </code></pre>
  
  <p>and when i debugging this part, it fails to watch the variable j(0,col). I know, maybe it's not a function name, but it has some value in it. I mean, the matrix consists of 10 cells, but what i get from visual studio is only one float value.</p>
  
  <p>Here is the sc of debug:</p>
  
  <p><img src="https://i.stack.imgur.com/4qwz3.png" alt="debug screen"></p>
  
  <p>Appreciate any help on watching the value of each cell.</p>