Unfortunately you won't be able to debug code sent through 'new
Function()'.

jjb

On Oct 26, 4:31 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> John J Barton wrote:
> > Two suggestions:
> > 1) Postpend a comment string to the JSON buffer starting with
> > //@ sourceURL=
> > and then a URL of your choice.  This causes Firebug to name the buffer
> > using the URL rather than naming it with MD5 hash.
>
> > 2) On the script panel, to the left of the file list is a small menu
> > called the script-limiter. Set it to event and see how you do.
>
> There's a third alternative. Instead of: return eval("(" + json +
> ")"),
> decode your json string with: return new Function("return " + json)
> ();
> Found this tip at: seehttp://trac.dojotoolkit.org/ticket/7053
>
>  - Haavikko
--~--~---------~--~----~------------~-------~--~----~
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