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.
,
Jul 8 2016
This appears to be fixed on Canary, can you please confirm.
,
Jul 8 2016
Yup. It worked on the canary. Do you have any idea about when this would be fixed in the chrome?
,
Jul 8 2016
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
,
Jul 8 2016
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.
,
Jul 8 2016
Thanks for the reply. Looking forward for this update in the upcoming release. |
||||
►
Sign in to add a comment |
||||
Comment 1 by jonathan.garbee@chromium.org
, Jul 7 2016