Closed Bug 992595 Opened 11 years ago Closed 11 years ago

browser console variable viewer shows latest updated version

Categories

(DevTools :: Console, defect)

29 Branch
x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 754861

People

(Reporter: noitidart, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:29.0) Gecko/20100101 Firefox/29.0 (Beta/Release)
Build ID: 20140403132807

Steps to reproduce:

var obj = {};
for (var i=0; i<10; i++) {
obj[i] = true;
console.log('obj at i = ' + i, obj);
}


Actual results:

it logs obj in consoel but when i click on obj to open it in variable viewer it shows its latest version


Expected results:

it should keep a copy of the object and show the object as it was at that time.
Console output also have the issue, it should be a echelon.
Component: Untriaged → Developer Tools: Object Inspector
Since this is a webconsole issue, moving to the correct component.
Component: Developer Tools: Object Inspector → Developer Tools: Console
The object inspector uses the same object as the console output code. If we fix bug 754861 we also fix this one.
Status: UNCONFIRMED → 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.