Hi,
I am currently working on evolving the code of the Firebug Console (and more precisely, the way Firebug evaluates expressions).
When I tested my work using a Firefox profile having both Firebug and ShareMeNot, I discovered some mysterious conflicts. Here are the steps to reproduce:
1. Create a new Firefox profile and launch it
2. Install the attached version of Firebug on this profile
3. Install ShareMeNot
4. Restart Firefox (shouldn't be necessary, but we're sure everything is properly initialized then...)
5. Open this page:
https://getfirebug.com/tests/head/commandLine/api/cd.html6. Open Firebug on it
7. Enable and switch to the Console Panel
8. Reload the page (important!)
9. Type in the Console's command line: cd(frames[0])
10. Type in the command line: console
|--> returns "undefined" !!!
If you disable ShareMeNot and reproduce steps 8 to 10, typing "console" displays the expected object.
I've found a (also mysterious) workaround to this conflict:
https://github.com/firebug/firebug/commit/d8887b51bb28621e70bd699eac758030383b80ff#L0L73But we'd really like to know what causes the conflict.
I've attached the commented pieces of code of DebuggerLib.js in which the conflict seems to occur. Do you have any clue why this happens?
I am at your disposal if you need further information about the code of Firebug and its mechanisms.
Related subject on Firebug issue list:
http://code.google.com/p/fbug/issues/detail?id=6291Cheers,
Florent