Yep, see also issues 1096, and 1008:
http://code.google.com/p/fbug/issues/detail?id=1096
http://code.google.com/p/fbug/issues/detail?id=1008
These are problems in mozilla platform. I'm working on test cases for
this problem and the unreachable loop code cases like
http://code.google.com/p/fbug/issues/detail?id=1239

jjb

On Nov 4, 9:42 am, Marky1124 <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've found that the following simple HTML page fails when using a
> breakpoint on the if statement:-
>
> <script type="text/javascript">
> function checkthis()
> {
>     var thing = document.getElementById('trial');
>     if (thing.options[0].value == 1) {
>         thing.remove(0);
>     }}
>
> </script>
>
> <select id="trial" name="trial" onchange="checkthis();">
> <option value="1">one</option>
> <option value="2">two</option>
> <option value="3">three</option>
> </select>
>
> Steps to reproduce
>
> 1) Load the page
> 2) Enable Firebug script debugger and set the breakpoint on the if
> statement
> 3) Change the select dropdown from "one" to another choice
> 4) Then either step, or run, from the breakpoint in Firebug
> 5) Firebug now errors saying "thing.options is undefined".
>
> If you set the breakpoint on the line before, e.g. the var statement,
> then it works properly.
>
> I've tried this on Firefox v3.0.3 with Firebug v1.2.1 and also on
> Firefox v3.1b1 with Firebug v1.3.0b2 & v1.4.0a1.
>
> All the best,
> Cheers,
> Mark
--~--~---------~--~----~------------~-------~--~----~
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 
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to