Skip to main content
replaced http://drupal.stackexchange.com/ with https://drupal.stackexchange.com/
Source Link

AgainAgain, 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.

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.

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.

Source Link
kalabro
  • 7.9k
  • 35
  • 46

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.