writing javaScript in IE

G

Guest

hi,
i wrote an asp.net page which contains 4 frames.
in each frame i load some html (with javaScript)
while in js onLoad i call some methods.
the IE is loading the JS and the frames a-synchronic.
i would like to know this two things.
1) is there any tool for see the js files status. (like in firefox)
so i could see which one is not loaded yet and where it stoped ?
(i need this for checking in the production)
2) is there anyone who know how to solve this problem ?

thanks.
 
R

Robert Aldwinckle

Shani Raba said:
hi,
i wrote an asp.net page which contains 4 frames.
in each frame i load some html (with javaScript)
while in js onLoad i call some methods.
the IE is loading the JS and the frames a-synchronic.
i would like to know this two things.
1) is there any tool for see the js files status. (like in firefox)
so i could see which one is not loaded yet and where it stoped ?
(i need this for checking in the production)
2) is there anyone who know how to solve this problem ?


Use a script debugger?
 
G

Guest

i am using script debugger
by the - debugger; line
1) do u have something better ?
2) script debugger show whats run but not show whats not run.
and while we have 5 frames with 3 scripts each, i cant know what stuck
the
debugger.
moreover, debugger causes the js to finish download so while debugging
it looks like there is no problem
 
R

Robert Aldwinckle

Shani Raba said:
i am using script debugger
by the - debugger; line
1) do u have something better ?

Visual Studio

2) script debugger show whats run but not show whats not run.

Set a breakpoint on a critical path. If the breakpoint doesn't fire
the code was not run.

and while we have 5 frames with 3 scripts each, i cant know what stuck
the
debugger.

Any time a process is interactive you can inspect its status at a breakpoint.
For example, you could do this in conjunction with FileMon or even just
the IE TIF viewer (assuming the components you are interested in are
cacheable) to tell which files had been accessed just before that.

moreover, debugger causes the js to finish download so while debugging
it looks like there is no problem


That's tough. I too hate it when diagnostics make the symptom change.

Looks like a timing problem then? What cache-checking option are you
using? FWIW I have found Every visit... though perhaps slightly slower
to be more reliable.

A related diagnostic which can be used to allow similar breakpointed
inspections is settings all possible prompts on (e.g. in Security and
Privacy tab).


BTW this is a newsgroup which attracts mostly end-users of IE
rather than developers. Try the MSDN Newsgroups page for
other newsgroups more likely to be frequented by Web Developers.


Good luck

Robert
---
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top