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

Issue 708459 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Chrome Dev Tools not recognizing a function under Watches

Reported by sun21...@gmail.com, Apr 5 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36

Steps to reproduce the problem:
1.Render the attached html file in Chrome browser 
2. Open Dev tools and put a breakpoint in inline JavaScript within doSomething method that is inside myValidation function.
3. Then click on either of the two buttons.
4.Once debugger breaks inside doSomething function, watch the following expression: validatePositiveIntegerValue("23.sd").
5.The watch expressions results in "not available" error even though the methods doSomething and validatePositiveIntegerValue are both defined at same level.

What is the expected behavior?
You should get the result as false for  watch expression but it says "not available".

What went wrong?
You should get the result as false for  watch expression but it says "not available". The function validatePositiveIntegerValue  is not being recognized.

Did this work before? N/A 

Chrome version: 57.0.2987.133  Channel: stable
OS Version: 10.0
Flash Version:
 
ChromeDevToolsIssue1.html
1.9 KB View Download
Labels: Needs-Triage-M57
Owner: kozyatinskiy@chromium.org
Alexi, can you please look into this?
Labels: -Needs-Triage-M57 ReleaseBlock-Stable Needs-Triage-M58 Needs-Bisect
Status: Assigned (was: Unconfirmed)
Adding an RBS for tracking purpose.
Cc: jmukthavaram@chromium.org
Labels: Needs-Feedback
Unable to reproduce the issue on Windows 10,Mac 10.12.4 & Linux Ubuntu 14.04 using chrome reported verison (stable)-57.0.2987.133  & Canary-59.0.3064.0 as per steps mentioned in comment#0.
Not observed any watch expression value after performing the above steps in dev tools.
Please find the attached screencast for reference & if possible ,could you please provide the screencast of the issue for further triaging.
Thanks in advance.

708459.mp4
2.6 MB View Download

Comment 5 by sun21...@gmail.com, Apr 7 2017

You are not adding a watch expression of validatePositiveIntegerValue("23.sd") once you are in doSomething method. When debugger stops inside doSomething method, you must add a watch expression of validatePositiveIntegerValue("23.sd") under Watch section.
Project Member

Comment 6 by sheriffbot@chromium.org, Apr 20 2017

Cc: ligim...@chromium.org
This issue is marked as a release blocker with no milestone associated. Please add an appropriate milestone.

All release blocking issues should have milestones associated to it, so that the issue can tracked and the fixes can be pushed promptly.

Thanks for your time! To disable nags, add the Disable-Nags label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -ReleaseBlock-Stable
Thanks for your report.

Your function validatePositiveIntegerValue is defined on rpv object (and methods are not defined at the same level) so could you use rpv.validatePositiveIntegerValue("23.sd") as watch expression and confirm that it still doesn't work?
Status: WontFix (was: Assigned)

Sign in to add a comment