Not sure this is a Firebug issue, but I think it might be.  I am
seeing two cases in which my javascript code that was executing
correctly previously, but suddenly stopped working.

The first one is a problem with variable assignment.  I had a line
like this:

var a = results.field;

results is some random object and field is some field.

When I put a break point on this line, and then step to the next line
a will be undefined as if the assignment didn't happen.  field is
defined (either an integer or an array in the two cases I have seen)
at this point according to alerts I have placed before this line and
variable explorer.  So I'm not really sure what is going on here.

The other problem is with a conditional.

if ( object.field > 0 ) {
  ...
}

According to alerts and firebug field is 20, yet it still skips over
the this case.

The common thread I see here is that both problem are dealing with
accessing fields on an object and that returned result from that
access is 'undefined'.

If I close down all of my firefox windows and restart them I can get
things to behave again, but I'll get this issue popping again later.

Has anyone else run into problems similar to this?  Should I redirect
this to the Firefox forums?

I am running FF 3.0.7 and Firebug 1.3.3 on 64 bit Vista, but I have
had this problem with previous versions of both as well as on XP Pro.
And it works just fine on IE7.

Any help would be appreciated.

--~--~---------~--~----~------------~-------~--~----~
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