DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
<HTML>
<HEAD>
    <TITLE>Netscape JavaScript Debugger Start Page</TITLE>

<SCRIPT>
var targetURL = location.search.substring(1);
</SCRIPT>

</HEAD>

<BODY BGCOLOR="#ffffff">
<CENTER><IMG src="images/jsd.gif"></CENTER>
<P>
<H2><FONT SIZE=+2>Welcome</FONT></B> to the start page for the
Netscape JavaScript Debugger. </H2>
Bookmark this page so you can easily restart the debugger.
<P>
Be sure and experiment with the <A
HREF="samples/index.html">JavaScript samples</A> included with this 
release.<BR>

<BLOCKQUOTE><B>Important:</B> Please review the <A HREF="readme.txt"> README</A> file for
information about installing the debugger and getting started with
it. This is especially important for Unix users.</BLOCKQUOTE> 

For information on features of this release, known problems, and
troubleshooting tips, see the  
<A HREF="http://home.netscape.com/eng/Tools/JSDebugger/relnotes/relnotes11.html">Release Notes</A>.
<P>
For information on using the debugger, see <A
HREF="http://developer.netscape.com/library/documentation/jsdebug/index.htm">Getting
Started with Netscape JavaScript Debugger</A>.

<BLOCKQUOTE><B>Important:</B> When you're stopped in Netscape
JavaScript Debugger, you cannot use many features of Communicator. In
particular, you cannot use Navigator to browse web pages. For this
reason, it is recommended that you download the <A
HREF="http://developer.netscape.com/library/documentation/jsdebug/jsd.pdf">PDF
version</A> of the 
getting started manual before starting the debugger. You can then
either print the PDF file or view it online with Acrobat
Reader.</BLOCKQUOTE>


<BR> 
<br>

<script>
var jsdrun = window.open("", "_jsdrun","resizable,menubar=no,width=200,height=100,left=0,top=0");


// the debugger applet will set "JSDebuggerInited=1" on successful init
if( ! jsdrun.JSDebuggerInited )
{
  // for some reason I thought it would be cute to animate something
  // while the debugger loads.
  var d = jsdrun.document;
  d.writeln("<html>");
  d.writeln("<head>");
  d.writeln("    <title>Debugger stub</title>");
  d.writeln("<script>");
  d.writeln("var callcount;");
  d.writeln("var visible_layer;");
  d.writeln("function run(){");
  d.writeln(" document.layers[visible_layer].visibility= \"hide\";");
  d.writeln(" if( window.JSDebuggerInited == 1 ){");
  d.writeln("  document.layers[\"exit\"].visibility= \"show\";");
  d.writeln("  return;");
  d.writeln(" }");
  d.writeln(" if( ++callcount == 3 ) callcount = 0;");
  d.writeln(" visible_layer = \"layer\" + callcount;");
  d.writeln(" document.layers[visible_layer].visibility= \"show\";");
  d.writeln(" setTimeout( \"run()\", 500 );");
  d.writeln("}");
  d.writeln("<\/script>");
  d.writeln("<\/head>");
  d.writeln("<body>");
  d.writeln("<script>");
  d.writeln(" // force an init of moja (this is necessary)");
  d.writeln(" java.lang.System.out.println(\"Starting JSDebugger\");");
  d.writeln("<\/script>");
  d.writeln("<center>JavaScript Debugger<BR>applet stub window</center><P>");
  d.writeln("<LAYER name=\"layer0\" visibility=\"hide\"><center><font color=\"red\"  >Loading Debugger</font></center><BR></LAYER>");
  d.writeln("<LAYER name=\"layer1\" visibility=\"hide\"><center><font color=\"green\">Loading Debugger</font></center><BR></LAYER>");
  d.writeln("<LAYER name=\"layer2\" visibility=\"hide\"><center><font color=\"blue\" >Loading Debugger</font></center><BR></LAYER>");
  d.writeln("<LAYER name=\"exit\" visibility=\"hide\"><center><a href='javascript:window.close()'>Exit Debugger</a></center><BR></LAYER>");
  d.writeln("<script>");
  d.writeln(" callcount = 0;");
  d.writeln(" visible_layer = \"layer\" + callcount;");
  d.writeln(" run();");
  d.writeln("<\/script>");
  d.writeln("<applet codebase=\".\" name=\"JSDebuggerApplet\" archive=\"jsdeb12.jar\" code=\"com.netscape.jsdebugging.ifcui.JSDebuggerApplet\" width=1 height=1 MAYSCRIPT>");
  d.writeln("    <param name=\"ApplicationClass\" value=\"com.netscape.jsdebugging.ifcui.JSDebuggerApp\">");
  d.writeln("    <param name=\"AppletInitProp\" value=\"JSDebuggerInited\">");
//
// Uncomment and set this to override folder choice for preferences.
// NOTE: on Mac the path needs to begin and end with slashes ('/')
//
//  d.writeln("    <param name=\"PrefsDir\" value=\"/Macintosh HD/System Folder/Preferences/\">");
  d.writeln("<\/applet>");
  d.writeln("<\/body>");
  d.writeln("<\/html>");
  d.close();
}

function loadTargetURLWhenReady()
{
    if( jsdrun.JSDebuggerInited )
        location.href = targetURL;
    else
        setTimeout( "loadTargetURLWhenReady()", 500 );
}

if( targetURL && targetURL != "" )
{
    document.writeln( "<HR>This window will automatically navigate to <CODE>"+targetURL+"</CODE> as soon as the debugger is finished initializing.<BR>");
    loadTargetURLWhenReady();
}
else
{
    document.writeln( "<HR>You can now begin to navigate in this window. The debugger starts tracking activity in all Navigator windows as soon as it finishes loading.<BR>");
}

</script>
</body>
</html>