New issue
Advanced search Search tips

Issue 729512 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jul 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Javascript file not listed as source and can't be debugged in CrOS packaged app.

Project Member Reported by lewenhaupt@chromium.org, Jun 5 2017

Issue description

Chrome Version: (copy from chrome://version)
OS: Crome/57.0.2987
What steps will reproduce the problem?
(1) Using an packaged app which creates one more multiple windows which has a script tag.
(2) Attaching a remote debugger to the app.

What is the expected result?
To be able to see the source code for the window's javascript files and to be able to debug it, like setting break points.

What happens instead?
The script file is not listed among the sources for the window.

Sometimes when creating multiple windows which all use the same script file, the file shows up as a source for one of the windows but never for all of them.
 
Labels: OS-Chrome
Labels: Needs-Feedback
Thanks for filing this. Can you give us a simple app to repro with? Thanks.
Status: WontFix (was: Untriaged)
V8/Blink purge scripts that are no longer used, so if devtools is opened after the script is no longer needed, it will no be present to devtools. However, if you reload the page from that point it should hold a reference to all files until devtools is closed.

This is a limitation to keeping V8/Blink fast.

Thanks for the report though!

Sign in to add a comment