.\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH RHINO-DEBUGGER 1 .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME rhino-debugger \- invokes the rhino JavaScript debugger GUI .SH SYNOPSIS .B rhino-debugger .I [options] .I script_filename_or_url .I [script_arguments] .SH DESCRIPTION This manual page documents briefly the .B rhino-debugger command. This manual page was written for the Debian distribution because the original program does not have a manual page. It is written according to the html documentation. .PP \fBrhino-debugger\fP is a start script for the rhino JavaScript debugger. The Rhino JavaScript debugger is a GUI that allows debugging of interpreted JavaScript scripts run in Rhino. Note that this debugger will not work with JavaScript scripts run in the mozilla browser since Rhino is not the engine used in such environments. .SH OPTIONS .IP -w Enable warnings. .IP -version\ \fIversionNumber\fP 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$ .IP -opt,\ -O\ \fIoptLevel\fP 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. .IP -f\ \fIscript_filename_or_url\fP Reads script_filename_or_url content and execute it as a JavaScript script. .IP -e\ \fIscript_source\fP Executes script_source as a JavaScript script. .IP -modules\ \fIuri\fP Add a single path or URL element to the CommonJS module search path. (implies -require) .IP -require Enable CommonJS module support. .IP -sandbox Enable CommonJS sandbox mode. (implies -require) .IP -debug Generate debug code. .IP -strict Enable strict mode. .IP -fatal-warnings Treat warnings as errors. .IP -encoding\ \fIcharset\fP Use specified character encoding as default when reading scripts. .SH EXAMPLE Example debugging the NervousText.js applet written in JavaScript. The example is provided in the librhino-java-doc package. $ rhino-debugger NervousText.js .SH SEE ALSO The online documentation under https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rhino/Debugger .SH AUTHOR This manual page was written by Damien Raude-Morvan , for the Debian project (but may be used by others).