RE: Issues with exceptions not occuring consistently
"Bryan Andrews" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.jsdebugger |
|---|---|
| Message-ID | <E5B0A21B29879B408844E0551227EF173ACFCF@tatl0s10.trendinfluence.com> |
So it looks like my issue with debugging, is that the frame I am trying to reference has not yet loaded in the debugger.
oFrame2 = top.myParent.frames[5].document;
so I always get an html document with an "about:blank" uri. This does not seem to affect my page when running but makes it very hard to debug.
Is there a setting or something I should be preloading in this respect?
Thanks!
My frameset code looks like this:
<frameset framespacing="0" cols="*,200" frameborder="0">
21 <frameset rows="*,100,130">
22 <frame name="room" src="acroom.aspx?u=ba&r=RBK Panel">
23 <frame name="room_dup" src="acroom_dup.aspx?u=ba&r=RBK Panel">
24 <frame id="input" name="input" src="acinput.aspx?u=ba&r=RBK Panel" scrolling="no">
25 </frameset>
26 <frameset rows="100,*,220">
27 <frame name="users" src="acusers.aspx?u=ba&r=RBK Panel">
28 <frame name="users_dup" src="acusers_dup.aspx?u=ba&r=RBK Panel">
29 <frame id="media" name="media" src="acmedia.aspx">
30 </frameset>
31 <noframes>
32 <p id="p1">
33 This HTML frameset displays multiple Web pages. To view this frameset, use a
34 Web browser that supports HTML 4.0 and later.
35 </p>
36 </noframes>
37 </frameset>
My problem is occurring inside the scripts in the first frame (room). I can only access oFrame2 = top.myParent.frames[0].document; as this is the current script that has loaded.
Thanks for any help.
-----Original Message-----
From: Bryan Andrews
Sent: Thursday, December 18, 2003 8:00 AM
To: '[email protected]'
Subject: Issues with exceptions not occuring consistently
Has anyone else seen code that just would not work until you close the browser and debugger and restart?
I am using the newest mozilla and venkman.
Also, there are exceptions that occur when debugging that do not (seem) to occur when running the code in the browser. Is this possible?