Hi, I'm using Firebug 1.2.1 in Firefox 3.0.3 on Linux. In our web application, we sometimes need to send very large JSON data objects from the server to the client (2-4 MB of JSON text). All works fine, until we enable the Firebug script debugger. When we do, the web browser locks up for several minutes each time a large object is eval:ed in the JS code.
This is somewhat logical, as Firebug now supports debugging eval:ed JS source code. Due to the previous issues with that (Firebug 1.0), our application doesn't eval source code anymore but instead relies on adding <script> tags to the document header. Now, this new behavior in Firebug has forced us to turn off script debugging when using certain parts of our application. Is there some kind of other work-around or fix for this issue? I realize that it is probably quite uncommon. But it would be nice to be able to turn off the debugging of eval:ed code, since we only use eval for JSON. Even a boolean property in about:config would be good enough. Except fully turning off script debugging, the only other solution I can see would be to start using a proper JavaScript JSON parser instead of eval. Nobody else seems to do that, so I guess it would come with a performance penalty as well though. In the future, I understand that the JSON object will probably be added to EcmaScript 3.1 so this issue will eventually go away. Any suggestions are welcome. Cheers, /Per --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
