debugger statement not working in dynamically created <script> tag

100 views
Skip to first unread message

Jiho Han

unread,
Jun 2, 2011, 3:08:37 PM6/2/11
to Firebug, jiho...@us.bnpparibas.com
I am running FireFox 3.6 and Firebug 1.6/1.7.2 (tried both) and
debugger statement does not break in Firebug when that debugger
statement is in the dynamically loaded <script> tag.

I have a sample with dojo 1.6 that demonstrates this. Since I can't
post a file here I'd like to create a ticket but before I want to do
that I want to make sure it's not a known issue or something dumb I am
or am not doing.

Basically, the dojo framework inserts a new script tag into the body
(not head). The debugger statement is in the new script block. I've
surrounded the debugger statement with alerts and console.log which
all work.

Does anyone have ideas?
Thanks
Jiho

Jan Honza Odvarko

unread,
Jun 3, 2011, 2:32:13 AM6/3/11
to Firebug
Could this be related to:
http://code.google.com/p/fbug/issues/detail?id=4289

Honza

Jiho Han

unread,
Jun 3, 2011, 10:59:41 AM6/3/11
to Firebug
I am using the recommended combo: FF3.6 + FB 1.7.2
But 'debugger' is still not braking for me.

On Jun 3, 2:32 am, Jan Honza Odvarko <odva...@gmail.com> wrote:
> Could this be related to:http://code.google.com/p/fbug/issues/detail?id=4289
>
> Honza
>
> On Jun 2, 9:08 pm, Jiho Han <jiho...@gmail.com> wrote:
>
> > I am running FireFox 3.6 and Firebug 1.6/1.7.2 (tried both) and
> >debuggerstatement does not break in Firebug when thatdebugger
> > statement is in the dynamically loaded <script> tag.
>
> > I have a sample with dojo 1.6 that demonstrates this.  Since I can't
> > post a file here I'd like to create a ticket but before I want to do
> > that I want to make sure it's not a known issue or something dumb I am
> > or am not doing.
>
> > Basically, the dojo framework inserts a new script tag into the body
> > (not head).  Thedebuggerstatement is in the new script block.  I've
> > surrounded thedebuggerstatement with alerts and console.log which

John J Barton

unread,
Jun 3, 2011, 2:39:48 PM6/3/11
to Firebug


On Jun 3, 7:59 am, Jiho Han <jiho...@gmail.com> wrote:
> I am using the recommended combo: FF3.6 + FB 1.7.2
> But 'debugger' is still not braking for me.

Try the instructions here:
http://getfirebug.com/wiki/index.php?title=I_found_a_Firebug_Bug!
jjb

Jiho Han

unread,
Jun 3, 2011, 10:45:45 PM6/3/11
to Firebug
Thanks I created a bug report: 4492
Reply all
Reply to author
Forward
0 new messages