New issue
Advanced search Search tips

Issue 901814 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

Step-In behaviour inconsistent for generator functions

Reported by sandroto...@googlemail.com, Nov 5

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0

Steps to reproduce the problem:
1. Open min.html (see attached)
2. Set BPs as shown in devtools.mkv
3. 

What is the expected behavior?
The debugger should step into the generator function.

What went wrong?
Depending on the BP, the debugger steps over the function.
Also, if both BPs exist, the "first" BP is hit and a "step in" is executed, the debugger hits the second BP. This further indicates that the behavior of a "step in" at the first BP is incorrect (as it steps over without the second BP).

Did this work before? N/A 

Chrome version: 70.0.3538.77  Channel: stable
OS Version: Arch Linux
Flash Version: n/a
 
min.html
122 bytes View Download
min.js
126 bytes View Download
devtools.mkv
405 KB Download
Labels: Needs-Triage-M70
Owner: alph@chromium.org
I'm actually not sure what the "second" bp is supposed to mean. The behavior is obviously incorrect, but when should this location be hit? If it is before, what's the difference to the first bp, if it's after, why it not placed at the call to the function? Also, "normal" functions don't have this bp location, so I don't really get it. Could you shed some light on this?
Status: Assigned (was: Unconfirmed)

Sign in to add a comment