Description[inspector] removed call break location from for-of loop
There are two break locations at the same source location by desugaring:
- call iterator.next,
- before variable assignment.
Additionally location for for..of loops is moved from before "of" to before each variable expression.
We should not report first implicit call to avoid user confusion. User still able to go into .next function with both scenarios:
- when this call is reached by stepOver or stepInto from previous line,
- when this call is reached because of breakpoint at current line.
BUG=v8:6425
R=dgozman@chromium.org,jgruber@chromium.org
Review-Url: https://codereview.chromium.org/2893313002
Cr-Commit-Position: refs/heads/master@{#45509}
Committed: https://chromium.googlesource.com/v8/v8/+/fb78710c06743a19fb7161794ee611527a8be1af
Patch Set 1 : without CL #Patch Set 2 : removed call location #
Total comments: 2
Patch Set 3 : aligned for..in and for..of #Patch Set 4 : removed each_keyword_pos #
Total comments: 3
Messages
Total messages: 32 (21 generated)
|