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

Issue 626434 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Jul 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Breakpoint breaks after this piece of code

Reported by suryatej...@gmail.com, Jul 7 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0

Steps to reproduce the problem:
Here is my html file:

<select id="drop-down"> 
<option value="1" title="East">East</option>
<option value="1" title="West">West</option> 
<option value="0" title="North">North</option>
<option value="1" title="South">South</option>
</select>

In my JavaScript code:
Line1: $("#drop-down option:selected").text();
Line2: console.log("It doesn't stop in here");

If you have a breakpoint in chrome on the Line1 [$("#drop-down option:selected").text();] and step over using F10, it rushes through the rest of the lines instead of stopping the execution on the next line at Line2.

Here is the working sample of this fiddle https://jsfiddle.net/37ayo94y/. 

What is the expected behavior?
It should have stopped on the line two but instead it rushes through the rest of the code.

What went wrong?
It executes the rest of the code.

Did this work before? No 

Chrome version: <Copy from: 'about:version'>  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 21.0 r0

It worked well in IE.
 
Components: Platform>DevTools>JavaScript
Labels: Needs-Feedback
This appears to be fixed on Canary, can you please confirm.
Yup. It worked on the canary. Do you have any idea about when this would be fixed in the chrome?
Project Member

Comment 4 by sheriffbot@chromium.org, Jul 8 2016

Labels: -Needs-Feedback Needs-Review
Owner: allada@chromium.org
Thank you for providing more feedback. Adding requester "allada@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Fixed (was: Unconfirmed)
There is no way to say for certain, usually these kinds of bugs get pushed to live within 2 months, but I did not see when it landed on ToT.
Thanks for the reply. Looking forward for this update in the upcoming release.

Sign in to add a comment