Menu

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

Accepted
nobody
None
Medium
Defect
2011-04-06
2011-03-29
Anonymous
No

Originally created by: nik...@gmail.com

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.

2 Attachments

Discussion

  • Anonymous

    Anonymous - 2011-04-01

    Originally posted by: peter.ry...@gmail.com

    (No comment was entered for this change.)

    Status: Accepted

     
  • Anonymous

    Anonymous - 2011-04-06

    Originally posted by: peter.ry...@gmail.com

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

     

Log in to post a comment.