I am looking for a way to debug a dynamically loaded jQuery document.ready function.
Obviously, I can’t just open the script panel and add a breakpoint with the mouse, since the function does not exist there.
I also tried adding a "debugger"; to the function (without the quotes), but it did nothing. I made sure that the function actually executes when I tried it.
Thanks for your help,
Adrian
Edit: I just noticed that Firebug really breaks when debugging. However, when he does this on a dynamically loaded script, he does not output the source code of this script, as usual. In addition, the call stack ends right under my own code. I can run the implementation of document.ready through the call stack, but it really doesn't help. Is this a Firebug bug or am I missing something?
javascript jquery firebug
Adrian Grigore May 13 '09 at 15:55 2009-05-13 15:55
source share