I am using Firefox 3.0.11, and Firebug 1.3.3.
There is a particular function which contain the following line:
...
while (nExecuteSteps-- && this.pq.length()>0) {
ve=this.pq.pop(); <<<<<< starting here, Firebug *doesn't see*
this
as valid code
...
All the code below this line in this particular function is not seen
as valid code by Firebug -- hence if I set a breakpoint in there it is
seen as "undefined", can't debug :-(. However, if I change the above
line with:
...
for (; nExecuteSteps>0 && this.pq.length()>0; nExecuteSteps--) {
ve=this.pq.pop(); <<<<<< starting here, Firebug *sees* this as
valid
code
...
Firebug correctly sees all the line below as valid code (therefore I
can now set a breakpoint).
I have no idea why the former causes problem to Firebug.
Test case is at:
http://www.raymondhill.net/voronoi/firebug-test.php
The problem is at line 841 of
http://www.raymondhill.net/voronoi/firebug-test.js.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---