New issue
Advanced search Search tips

Issue 846757 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: May 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

destructuring method return value cause breakpoints to be unusable for the whole block

Reported by adri1.bo...@gmail.com, May 25 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36

Steps to reproduce the problem:
1. declare variable of the return of a function with destructuring 
2. make the function have an argument which is an object that itself have a function

What is the expected behavior?
We should be able to add breakpoints in the 2nd function

What went wrong?
It is impossible to add breakpoint in the whole statement

Did this work before? N/A 

Chrome version: 66.0.3359.181  Channel: stable
OS Version: OS X 10.13.4
Flash Version:
 
destructuring.jpeg
47.3 KB View Download

Comment 1 by woxxom@gmail.com, May 25 2018

Make sure you can reproduce the bug in vanilla JS because the problem may be caused by wrong sourcemappings.
good catch, that work in vanilla!
Status: WontFix (was: Unconfirmed)

Sign in to add a comment