kashiwazakinenji / chromedevtools

Automatically exported from code.google.com/p/chromedevtools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 commented 8 years ago

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

GoogleCodeExporter commented 8 years ago
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