After updating to the latest (r1641), I'm running into a weird problem
that I haven't been able to debug so far.
In my extension I'm registering a listener with Firebug.Debugger as
follows:
initContext: function(context, persistedState)
{
...
Firebug.Debugger.addListener(jsObserver);
FBTrace.sysout("listeners = " + Firebug.Debugger.fbListeners);
...
}
I've verified right after the addListener() call that
Firebug.Debugger.fbListeners has the correct listener object. Yet,
when the onFunctionCall() callback is dispatched, the following
exception is encountered:
"Exception in lib.dispatch onFunctionCall listeners is undefined"
Stack:
firebug1.4/components/firebug-trace-service.js (251) [...]
firebug1.4/components/firebug-trace-service.js (232) [...]
chrome://firebug/content/lib.js (2445) [...]
chrome://firebug/content/debugger.js (921) [...]
firebug1.4/components/firebug-service.js (2156) [...]
() [...]
Properties:
stack:
"((void 0),"onFunctionCall",[object Array])@chrome://firebug/content/
lib.js:2427\n(null,[object Object],1,true)@chrome://firebug/content/
debugger.js:921\ncallHook([object XPCWrappedNative_NoHelper],2)
@firebug1.4/components/firebug-service.js:2156\nonclick([object
MouseEvent])@http://clicktest.html:0\n"
It appears that Firebug.Debugger.fbListeners is somehow null now. The
problem seems to be introduced at change 1501.
I'm using firebug code from:
http://fbug.googlecode.com/svn/branches/firebug1.4
Regards,
Manoj
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---