CRDP sometimes hangs on Debugger.setBreakpointByUrl
Reported by
dig...@hotmail.com,
Jun 28 2018
|
|||||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Steps to reproduce the problem:
It seems to be a race condition that happens sometimes while setting this breakpoint:
--> Chrome: {"id":14,"method":"Debugger.setBreakpointByUrl","params":{"lineNumber":55,"url":"C:\\fol\\DeR\\Test18\\MyProject\\webpage\\js\\mysite.ts","columnNumber":0,"condition":""}}
I attached a full dump of the CRDP protocol
What is the expected behavior?
CRDP should respond to that request and debugging should continue
What went wrong?
CRDP doesn't respond to that request, it seems that it gets stuck and nothing happens after that
Did this work before? N/A
Chrome version: 67.0.3396.87 Channel: stable
OS Version: 10.0
Flash Version:
,
Jun 29 2018
,
Jun 29 2018
digeff@ Thanks for the issue. This issue seems to be out of scope of triaging at TE end, as this needs to be checked on Visual Studio 2017 as per comment #1. Hence adding 'TE-NeedsTriageHelp' label and requesting the appropriate team to look into the issue and help in further triaging. Thanks..
,
Jul 3
Do you have an ETA of when will someone be able to look at this issue?
,
Jul 9
Thanks for the reduction.
,
Jul 16
Have you been able to reproduce this issue?
,
Jul 17
Unfortunately I do not have Visual Studio on my workstation, I took a look to the crdp_dump.text and found some suspicious parts: 1. setting breakpoint in .ts file most likely mistake, setBreakpointByUrl takes JS script url as argument. If your website contains source maps, your harness or DevTools frontend should properly resolve location inside .ts file to location inside JavaScript file using source map. 2. there are two calls to setBreakpointByUrl with the same location in the log with id === 12 and id === 14, protocol returns "Breakpoint at specified location already exists." error as result of second setBreakpointByUrl call and your harness most likely does not process this error properly. Each breakpoint set by this method outlive navigation so there is no need to set it twice using the same location or breakpoint should be removed first.
,
Aug 21
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by dig...@hotmail.com
, Jun 28 2018618 KB
618 KB Download