inline breakpoints do not appear in single line promise statements
Reported by
kkru...@gmail.com,
May 25 2017
|
|||||
Issue descriptionUserAgent: 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
,
May 25 2017
inline breakpoints shown @googleIO-2017
,
May 26 2017
,
May 30 2017
,
May 30 2017
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/
,
May 31 2017
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 Deleted