Why does drupal_set_message not appear in the message area?
You do not have to call krumo directly. You can just use the helper function dpm, this will print a krumo output on the message variable.

Example:

dpm($row);