BACK TO DIRECTORY

Hikari Krumo

by

0.0
(0 ratings)

Krumo is a debugging tool equivalent to print_r() and var_dump(), with the advantage of collapsing array and object values so that it takes less space and let us see only what we really need from complex data.

Hikari Krumo ports it to a WordPress plugin, so that Krumo becomes easily available in any WordPress page. Original Krumo has a few bugs fixed and has its options available in an admin page instead of requiring krumo.ini file edited directly.

Features

  • The simplicity of print_r() with the details of var_dump()
  • Show any data, including its data type
  • For arrays and objects, internal data are collapsed, so that it takes less space and you can expand to see only those values you really wanna see, spending much less space
  • Works anywhere in WordPress, backend and frontend
  • Hide it from visitors and only those who really need to see dump be able to see it
  • Automatically shows PHP file and line where dump happened, a great tool for debugging

Screenshots

Krumo as it's presented when page loads, collapsed and using very little space

Krumo as it's presented when page loads, collapsed and using very little space

Main variable expanded, showing all object's fields

Main variable expanded, showing all object's fields

$post->post_content was still collapsed because it's a large text, now it was also expanded and you can see how a big string/blob of text is shown

$post->post_content was still collapsed because it's a large text, now it was also expanded and you can see how a big string/blob of text is shown

here you see the result of krumo(debug_backtrace())

here you see the result of krumo(debug_backtrace())

Plugin Details

Active Installs
10
Total Downloads
2,469
Version
0.02.04
Requires WP
2.8.0
Requires PHP
Tested Up To
3.0.5
Added
2010-10-10
Last Updated
2010-10-10 1:31am GMT

Ratings

5
0
4
0
3
0
2
0
1
0