New issue
Advanced search Search tips

Issue 795752 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Variable inspector covers up code

Reported by johannbl...@gmail.com, Dec 18 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.108 Safari/537.36

Steps to reproduce the problem:
Have a long line of code produce an output that shows a long piece of text. See the attached snapshot. When viewing the Javascript code, the values of the variables normally appear at the end of the line allowing you to view both your code and the values that the variables are set to.

What is the expected behavior?
The variable values should appear at the end of the line where the code is located.

What went wrong?
Instead of the variable values starting at the end of the line, they appear near the start of the line overlaid on top of the code making it impossible to read the code. The code in the sample is actually:

                // Don't bother sending the page info to the Servetus app if the title and description are the same.
                if ((tabInfo != null) && (metaData != null) && (tabInfo.pageInfo.title == metaData.title) && (tabInfo.pageInfo.description == metaData.description)) {
                    changedInfo = false;
                } else if (metaData == null) {
                    changedInfo = false;
                }

But as you can see from the snapshot, most of this is covered by the variable values.

Did this work before? N/A 

Chrome version: 63.0.3239.108  Channel: stable
OS Version: OS X 10.13.1
Flash Version: Shockwave Flash 28.0 r0
 
Screen Shot 2017-12-18 at 4.23.17 PM.png
284 KB View Download
Labels: Needs-Triage-M63

Comment 2 by woxxom@gmail.com, Dec 18 2017

You can disable it in devtools options. 

Comment 3 by alph@chromium.org, Dec 19 2017

Owner: pfeldman@chromium.org
Status: Assigned (was: Unconfirmed)
Owner: einbinder@chromium.org

Sign in to add a comment