I often use something like drupal_set_message( krumo( $row ) );
to output debug information. This is suppose to output that message within the $message area placed via the page.tpl file, however sometimes this is output in line where the code is suppose to be rendering (via a field template.)
Is there any way to make drupal_set_message output to the right place when being used in the the theme layer?