Thanks for the test cases.
Looks like this is related to issue
312<http://code.google.com/p/fbug/issues/detail?id=312>
.
Sebastian
On Monday, May 13, 2013 11:03:53 AM UTC+2, Dhruva Ray wrote:
>
> Interestingly, If I split it up between 2 script blocks, the debugger
> breaks. Can someone please explain why?
>
> <!DOCTYPE html>
> <html>
> <head>
> <title></title>
> <script>
> var foo = Function("a","b","debugger;console.log(arguments);");
> </script>
>
> <script>
> foo(1,2);
> </script>
>
> </head>
> <body>
>
> </body>
> </html>
>
> Regards,
> Dhruva Ray
>
> On Monday, 13 May 2013 14:31:46 UTC+5:30, Dhruva Ray wrote:
>>
>> Hi
>>
>> See this sample file
>>
>> <!DOCTYPE html>
>> <html>
>> <head>
>> <title></title>
>> <script>
>> var foo = Function("a","b","debugger;console.log(arguments);");
>> foo(1,2);
>> </script>
>> </head>
>> <body>
>>
>> </body>
>> </html>
>>
>> When the dynamically generated function foo is called, it does not break
>> into the debugger. Am I missing something?
>>
>> Regards,
>> Dhruva Ray
>>
>>
>>
--
--
You received this message because you are subscribed to the Google
Groups "Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
https://groups.google.com/forum/#!forum/firebug
---
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.