New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 593937 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Oct 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

debugger issue, not showing the correct list of objects for user interface

Reported by hong.wes...@gmail.com, Mar 10 2016

Issue description

Chrome Version       : Version 48.0.2564.116 m <Copy from: 'about:version'>
URLs (if applicable) :
Other browsers tested:
  Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
     Safari: 
    Firefox: OK
         IE:

What steps will reproduce the problem?
(1)making an ajax call to the db to grab a dictionary
(2)creating a list of object in javascript (occurred while debugging a project for work)
(3)opening up the debugger and finding getting the list.length.

What is the expected result?
The debugger iterated through the list as expected, however on the display it showed the length incorrectly

What happens instead?
rather than showing the actual length of the list it adds the character numbers and displays that as the list of object's length

Please provide any additional information below. Attach a screenshot if
possible.

 
code_usedToDebug.txt
6.9 KB View Download
chrome_debugger bug3.png
488 KB View Download
chrome_debugger bug2.png
466 KB View Download
chrome_debugger bug.png
468 KB View Download
this was done while developing a product for constructionpoints.com
Labels: Te-NeedsFurtherTriage
Components: Platform>DevTools>JavaScript

Comment 4 by alph@chromium.org, Jul 14 2016

Owner: kozyatinskiy@chromium.org
Status: Assigned (was: Unconfirmed)
There are two variables: length and notifyList.length
The code annotation is showing length for the selected line, which is not related to the code.

Comment 6 Deleted

Comment 7 Deleted

Labels: -Type-Bug-Security -Restrict-View-SecurityNotify -TE-NeedsFurtherTriage OS-All Type-Bug

Sign in to add a comment