dpm function doesn't display results for arrays I need to work over the hook_menu_alter function and I found that the dpm() function is not working for arrays. I have devel and admin_devel enabled. I flushed all cache to make sure the hook is fired.

function MY_MODULE_menu_alter(&amp;$items) {
  dpm('hello'); // This is printed 
  dpm($items); //This one is not printed at all
}
hook_menu_alter() is fired directly in the same call that flushes the caches - and only once. If you do that via drush cc all the result is never displayed.