On 3/7/07, R. Rajesh Jeba Anbiah <[EMAIL PROTECTED]> wrote:
After the page is loaded and if I set the breakpoint, it works like I expected. But, if I set the breakpoint and reload the page, it breaks at the breakpoint even while the page is loaded--this is confusing as it looks the event or function is been called even when the page is been getting loaded. Am I missing something? or Is this the way the Firebug works on jQuery? TIA
That's the way Firebug works in general. My understanding is that when it hits the breakpoint on page-load, the JS interpretor is processing the code, but hasn't gotten to the point where it begins to execute it yet. Firebug probably breaks whenever the JS interpretor hits that line, regardless of what it's actually doing with it. This is really something that you should ask Joe Hewitt (the creator of Firebug), though. -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/