I'm looking for a way to dump the structure of an object, similar to the PHP functions print_r and var_dump for debugging reasons.
print_r
var_dump