Question

I need to debug JavaScript in IE10. When I place "debugger" keyword in the script source code it doesn't stop. So I decided to set debug point in the debug panel itself. But todo that I need to find the file with source code, which is loaded to iframe. So I need to switch to that frame somehow. :) When I say "switch" I mean get the iframe's context not main window's context.

Was it helpful?

Solution

Whenever your iframe content is loaded, you can select any included script file from the drop down box located right under the toolbar, close to the vertical splitter.

I have placed a red frame around it on the picture.

When your script is loaded into the left panel, you can debug it with the usual tools: breakpoints, F10 / F11 etc.

See enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top