I didn't start the argument, Ephialtes did, now get back to helping Muffin.
Use trace(1); to switch tracing on and trace(0); to switch tracing off. This will allow you to see what variables are going into a function, you will get the variable's handle if it's an object in which case you can do <handle>.dump(); to find out what it is.