When I right-click a function in Firebug's Script tab, and tell it to log a
function, it gives me useful feedback in the Console. However, the way it
shows the arguments is not as specific as I'd like.

If an incoming argument is a string, it shows me the actual string, which
is fine.

However, if an incoming argument is a function name, I'd expect it to show
me the function name. Instead, it just reports Object { type="object" },
which is true but not very helpful.

If the incoming argument is an array, I'd like it to show me the name of
the variable that was actually passed (which contains the array), or maybe
some other information about the array.  Something like "array, length=5"
would be good. Instead, it just reports Object { type="object" }, exactly
the same as it does for the function, which (again) is true but not very
helpful. So I can't even tell whether the argument is a function, or an
array, or some other kind of object.

Is there some way to change what Function Logging does, to make it more
descriptive? If that's not possible, what would be the easiest way (in the
Console) for me to ask to see detailed information about all the arguments
passed in to the function?

Thanks much!

-- 
Lawrence San
Business Writing: Santhology.com
Cartoon Stories for Thoughtful People: Sanstudio.com

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/firebug/CAMoMLKjoWBe5zGZo%2BBFq0md7uXV%3DABO9jkrUK3gqjPHNCAuG5Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to