Closed Bug 832783 Opened 11 years ago Closed 11 years ago

variables view sorts an array elements taking the indexes as strings

Categories

(DevTools :: Debugger, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 828664

People

(Reporter: Optimizer, Unassigned)

Details

when you expand an array in the variables view, you get this :

V array_foo
  > 0
  > 1
  > 11
  > 12
  > 13
  .
  .
  > 18
  > 19
  > 100
  > 2
  > 20
  > 21

and so on.

Basically the indexes are sorted as strings, not numbers.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.