Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DebugEventListener#scriptLoaded method isn't called for scripts inside html files #41

Open
GoogleCodeExporter opened this issue Mar 17, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Google Chrome version: 11.0.696.16
SDK + Eclipse Debugger version(s): 0.2.2
OS + version: Ubuntu 10.10

What steps will reproduce the problem?
1. Copy the attached files to some local folder.
2. Start Chrome and open index.html file in it.
3. Run 'Chromium JavaScript' debug configuration in Eclipse
4. Open node corresponding to the debug configuration in 'Project Explorer'

What is the expected result?
Both index.html and funs.js files should be shown in 'Project Explorer'

What happens instead?
Only funs.js is shown.
However if we put a breakpoint inside funs.js and refresh page in Chrome the 
debugger will stop on the breakpoint and both index.html and funs.js files will 
be shown in 'Project Explorer'.

It appears that DebugEventListener#scriptLoaded event is fired for scripts in 
*.js files but isn't fired for scripts in *.html files until debugger stops on 
a breakpoint.

Original issue reported on code.google.com by nik...@gmail.com on 29 Mar 2011 at 11:15

Attachments:

@GoogleCodeExporter
Copy link
Author

Original comment by peter.ry...@gmail.com on 1 Apr 2011 at 1:05

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

There seems to be some mess with it in V8. I'm going to investigate it.

Original comment by peter.ry...@gmail.com on 7 Apr 2011 at 12:06

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant