There is no way I know of to change the logging.
The easiest way to find out about the passed arguments is to set a
breakpoint within the function and while the execution is stopped at it
investigate the arguments via the *Watch* side panel
<https://getfirebug.com/wiki/index.php/Watch_Side_Panel>.

As Firebug 3 will be based on the DevTools, you may also want to follow bug
1164882 <https://bugzilla.mozilla.org/show_bug.cgi?id=1164882>, which
targets to implement the logging of function calls for the DevTools.

Sebastian

On 27 November 2015 at 01:10, Lawrence San <[email protected]> wrote:

> 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
> <https://groups.google.com/d/msgid/firebug/CAMoMLKjoWBe5zGZo%2BBFq0md7uXV%3DABO9jkrUK3gqjPHNCAuG5Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAERejNbJ8MrZPiBLnrfsBomTdpS7_tmm4YenJBvkEFv2Xda4xQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to