views:

30

answers:

1

Is there a better way of debugging in Rhino than typing this everytime? :

for (prop in obj) { print("obj[" + prop + "] = " + obj[prop]); };

Update: To be clear, my question is whether there are any existing standard practices/modules/tricks on this topic.

+1  A: 

obj.toSource() will do for basic inspection.

Matthew Flaschen