Debian Codegraph @

rhino/debian/rhino-debugger.1

raw
1 .\" Hey, EMACS: -*- nroff -*-
2 .\" First parameter, NAME, should be all caps
3 .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
4 .\" other parameters are allowed: see man(7), man(1)
5 .TH RHINO-DEBUGGER 1
6 .\" Please adjust this date whenever revising the manpage.
7 .\"
8 .\" Some roff macros, for reference:
9 .\" .nh disable hyphenation
10 .\" .hy enable hyphenation
11 .\" .ad l left justify
12 .\" .ad b justify to both left and right margins
13 .\" .nf disable filling
14 .\" .fi enable filling
15 .\" .br insert line break
16 .\" .sp <n> insert n+1 empty lines
17 .\" for manpage-specific macros, see man(7)
18 .SH NAME
19
20 rhino-debugger \- invokes the rhino JavaScript debugger GUI
21
22 .SH SYNOPSIS
23 .B rhino-debugger
24 .I [options]
25 .I script_filename_or_url
26 .I [script_arguments]
27
28 .SH DESCRIPTION
29
30 This manual page documents briefly the
31 .B rhino-debugger
32 command.
33 This manual page was written for the Debian distribution because the original
34 program does not have a manual page. It is written according to the html documentation.
35 .PP
36 \fBrhino-debugger\fP is a start script for the rhino JavaScript debugger.
37 The Rhino JavaScript debugger is a GUI that allows debugging of interpreted
38 JavaScript scripts run in Rhino. Note that this debugger will not work with
39 JavaScript scripts run in the mozilla browser since Rhino is not the engine
40 used in such environments.
41
42 .SH OPTIONS
43
44 .IP -w
45 Enable warnings.
46 .IP -version\ \fIversionNumber\fP
47 Specifies the language version to compile with. The string versionNumber must be one of 100, 110, 120, 130, 140, 150, 160, 170, 180 or 200. See JavaScript Language Versions for more information on language$
48 .IP -opt,\ -O\ \fIoptLevel\fP
49 Optimizes at level optLevel, which must be an integer between -1 and 9. -1 means Interpretive mode is always used. 0 means no optimizations whereas 9 means all optimizations are performed.
50 .IP -f\ \fIscript_filename_or_url\fP
51 Reads script_filename_or_url content and execute it as a JavaScript script.
52 .IP -e\ \fIscript_source\fP
53 Executes script_source as a JavaScript script.
54 .IP -modules\ \fIuri\fP
55 Add a single path or URL element to the CommonJS module search path. (implies -require)
56 .IP -require
57 Enable CommonJS module support.
58 .IP -sandbox
59 Enable CommonJS sandbox mode. (implies -require)
60 .IP -debug
61 Generate debug code.
62 .IP -strict
63 Enable strict mode.
64 .IP -fatal-warnings
65 Treat warnings as errors.
66 .IP -encoding\ \fIcharset\fP
67 Use specified character encoding as default when reading scripts.
68
69 .SH EXAMPLE
70
71 Example debugging the NervousText.js applet written in JavaScript. The example is provided in the librhino-java-doc package.
72
73 $ rhino-debugger NervousText.js
74
75 .SH SEE ALSO
76
77 The online documentation under https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rhino/Debugger
78
79 .SH AUTHOR
80
81 This manual page was written by Damien Raude-Morvan <[email protected]>,
82 for the Debian project (but may be used by others).