Skip to main content
2 of 2
replaced http://drupal.stackexchange.com/ with https://drupal.stackexchange.com/

Again, Search Krumo can help. Let me show how it works. For example, we want to debug two objects:

  $user = user_load(1);
  sdpm($user); // user object
  sdpm(menu_get_object()); // node object loaded with menu_get_object() function.

We will see something like this:
enter image description here

P.S.There is known bug with devel/php textarea: http://drupal.org/node/1696920. So, don't use sdpm() there.

kalabro
  • 7.9k
  • 35
  • 46