Firebug debugging Javascript that's been lazy loaded

View: New views
2 Messages — Rating Filter:   Alert me  

Firebug debugging Javascript that's been lazy loaded

by Scottbert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm using jQuery's .getScript functionality to lazy load JS as and
when needed. If there's a JS error in the script that's lazy loaded, I
get an error showing in the console but I don't get the ability to see
where - the console takes me to the HTML of the page the script is
loaded into and gives me a spurious line number. Does anyone have any
ideas about this?

--

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



Re: Firebug debugging Javascript that's been lazy loaded

by John J Barton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Nov 6, 2:26 am, Scottbert <sickpu...@...> wrote:
> I'm using jQuery's .getScript functionality to lazy load JS as and
> when needed. If there's a JS error in the script that's lazy loaded, I
> get an error showing in the console but I don't get the ability to see
> where - the console takes me to the HTML of the page the script is
> loaded into and gives me a spurious line number. Does anyone have any
> ideas about this?

I recall one other report on this, but I do not remember or see a bug
report about it.
http://code.google.com/p/fbug/issues/list
jjb

--

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