Hi,

Firebug does not detect the names of many of my functions as I wish
they would.  Many, many functions are labeled "anonymous."  Could I
assign a property to these lambda functions that will override the
default provided by firefox?  the relevant code to modify looks like
it's in lib.js in the function getFunctionDescription: function
(script, context, frame)

maybe a modification like this would work, but it is untested:

        if (frame)
        {
            var fnc = script.functionObject.getWrappedValue();
            var name = (fnc && fnc.fbName) || frame.name;
            var args = FBL.getFunctionArgValues(fnc, frame);
        }
        else
        {
            var fnc = script.functionObject.getWrappedValue();
            var name = (fnc && fnc.fbName) || script.functionName;
            var args = [];
        }

Best regards,
Red Daly

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to