Not able to print variables of content type I want to print variables of a particular content type, but I have not found any way. Here is my code.

function mytheme_preprocess_node_mytype(&amp;$vars) {   
  echo '&lt;pre&gt;';print_r($vars); echo '&lt;/pre&gt;'; 
}


This function is in template.php. Is there a problem with my code?
Try this: (D7)

function YOURTHEME_preprocess_node(&amp;$vars) {
  drupal_set_message('&lt;pre&gt;' . print_r($vars, true) . '&lt;/pre&gt;');
}