Re: Breakpoint problem with firebug 1.10.6

72 views
Skip to first unread message

Sebastian Zartner

unread,
Feb 5, 2013, 5:06:55 PM2/5/13
to fir...@googlegroups.com, hou...@gmail.com
It seems no one answered your request so far. So sorry for the very late reply.
Does the problem still occur with Firefox 18.0.1 + Firebug 1.11.1? If so, could you please provide a complete test case, so I can reproduce the problem?

Sebastian

On Friday, November 2, 2012 4:43:18 PM UTC+1, houmie wrote:
I am using firebug since about 6 months and have a good understanding how it should work.

For the first time, I am getting a confusing behaviour while debugging, the underlying method don't seem to stop at break point, yet the application is working.

Something as simple as this, a div is filled with a html page per jquery load, thereafter the cancel button of the incoming html gets subscribed and upon click the div will get emptied.
It all works. But having break point on cancel_new_conversation() doesn't do anything.  Not sure, if I have done something in my firebug settings...doesn't feel right, not sure what to do...

$('#new_conversation_div').load(url, function(){                
        $('#new_conversation_cancel_button').click(cancel_new_conversation);
});   

function cancel_new_conversation(event){
    event.preventDefault();
    $('#new_conversation_div').empty();
}

Sebastian Zartner

unread,
Feb 5, 2013, 7:34:49 PM2/5/13
to Houmie, fir...@googlegroups.com
Great,

thanks for the info.

Sebastian

On Wed, Feb 6, 2013 at 12:01 AM, Houmie <hou...@gmail.com> wrote:
Thanks Sebastian,

Yes it is finally solved.

Here is a full explanation

http://stackoverflow.com/questions/13200758/js-breakpoint-doesnt-get-hit-but-code-executes

In short I loaded with AJAX a full blown HTML (with header and body) inside my div. Hence I had two headers and two bodies. Therefore the html broke and firebug went viral. :)

Regards,
Hooman
Reply all
Reply to author
Forward
0 new messages