title: Even simplest rules for [Visualization] in autoexp.dat won't work
body: <p>I am trying to visualize my matrix class in a more readable way than array of arrays using text visualizer. However even simplest rules won't work. Here is my rule for autoexp.dat:</p>
  
  <pre><code>; Custom visualizers for RTSG data types.
  RTSG::Matrix44&lt;float&gt; {
    preview(
      #(
        "foo", "bar"
      )
    )
    stringview(
      #(
        "foo", "bar"
      )
    )
  }
  </code></pre>
  
  <p>Here is the class definition:</p>
  
  <pre><code>template &lt;class T&gt; class Matrix44
  {
  public:
      T       x[4][4];
  
      // omitted methods, no other data members are declared
  }
  </code></pre>
  
  <p>However VS still displays it as following in the watch window:</p>
  
  <pre><code>{x=0x0283e530 }
  </code></pre>
  
  <p>and there is <strong>no magnifying glass</strong> to start text visualizer. What am I doing wrong?</p>
  
  <p>OS: Win 7 64-bit, VS: 2008 v3.5 SP1</p>
  
  <p><strong>Update:</strong> I have also noticed that VS was not always reacting to whatever changes in autoexp.dat, but would take them into account with some delay or after the debugger was restarted several times. As described in most of the places one only needs to restart debugger once and changes should be taken into account as debugger reads this file every time it starts. This doesn't seem to be the case on my machine.</p>