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

Issue 726524 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: May 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

inline breakpoints do not appear in single line promise statements

Reported by kkru...@gmail.com, May 25 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3108.1 Safari/537.36

Steps to reproduce the problem:
1. Debug node application via Developer Tools (chrome://inspect)
2. Open source code via Dev tools (selected option:
Open dedicated DevTools for Node )
3. Set breakpoint on single line promise statement:

const fetch = mem(str => emoj(str).then(arr => arr.slice(0, 7)));

What is the expected behavior?
multiple inline breakpoints should appear on promise code statement 

What went wrong?
Can not debug the async code in promise statement as advertised.

Did this work before? N/A 

Chrome version: 60.0.3108.1  Channel: canary
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 25.0 r0

Screenshots Provided of Devtools and node app cmdprompt.

Used same code example by Seth Thompson who presented at Google IO 2017  (See video: https://youtu.be/EdFDJANJJLs?list=PLNYkxOF6rcICniLJ2rfj0FexlA-9zmJJE&t=1627 )

Environment Details
Node v.7.10.0 and v6.9.5
Win7 SP1
 
devtool-screenshot.png
123 KB View Download
node-app-screenshot.png
92.8 KB View Download

Comment 1 Deleted

Comment 2 Deleted

Comment 3 by kkru...@gmail.com, May 25 2017

inline breakpoints shown @googleIO-2017
googleIO2017inlinebrkpoint.png
397 KB View Download

Comment 4 by ajha@chromium.org, May 26 2017

Labels: Needs-Triage-M60
Owner: kozyatinskiy@chromium.org
Status: Assigned (was: Unconfirmed)
Components: Platform>DevTools>JavaScript
Inline breakpoints feature is based on getPossibleBreakpoints method which is implemented and landed to V8 (Chrome and Node.js JavaScript engine).
Unfortunately Node.js 6.x and 7.x use old V8 version without required method. Please try node.js v8 nightly build from [1].

[1] https://nodejs.org/download/nightly/
Status: WontFix (was: Assigned)

Sign in to add a comment