Devel's dsm & dpm not working I am trying to print out the $view object using devel and dsm.

My function in function.php is

function my_theme_views_pre_render(&amp;$view) {

  if ($view-&gt;name == 'my-view') {
     dsm('$view'); 
  }
}


But I just get this message below, there is nothing inside the message, the html is 

&lt;div class="alert alert-block alert-success" data-thmr="thmr_137"&gt;
  &lt;a class="close" data-dismiss="alert" href="#"&gt;×&lt;/a&gt;
  &lt;h4 class="element-invisible"&gt;Status message&lt;/h4&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;pre&gt;$view&lt;/pre&gt;&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
You are dsm'ing a string, try dsm($view);