DEBPORTOPEN and NODEBPORTOPEN (JANUS DEFINE parameters)

From m204wiki
Revision as of 21:58, 8 March 2011 by Admin (talk | contribs) (1 revision)
Jump to navigation Jump to search

<section begin="desc" />and NODEBPORTOPEN<section end="desc" />

DEBPORTOPEN and NODEBPORTOPEN are parameters on JANUS DEFINE, whichs define and sets characteristics of a Janus port. See the List of JANUS DEFINE parameters.

Indicates whether the files and groups specified in the OPEN clause of the JANUS DEFINE command are to be opened on threads debugging requests to the port with the JANUSDEBUG command. The default of NODEBPORTOPEN means that these files and groups will not be opened.

If the files or groups in the OPEN clause are essential to the correct operation of web requests, or if the commands in the CMD clause are themselves to be debugged because of the DEBPORTCMD parameter (:hdref refid=debpc.) in the port definition and that requires the files or groups in the OPEN clause, specify the DEBPORTOPEN parameter. The DEBPORTOPEN and NODEBPORTOPEN parameters, like the JANUSDEBUG command, are only available in Sirius Mods Version 6.0 and later.

Files and groups opened as a result of the DEBPORTOPEN parameter are always closed before the debugging thread returns from the JANUSDEBUG command. If DEBPORTOPEN is specified but one or more files or groups in the OPEN clause are already open on a debugging thread, those files and groups will not be opened and closed by JANUSDEBUG processing, even if the privileges with which they are open do not match the explicit or implicit file/group privileges in the OPEN clause.

Valid only for WEBSERV ports.

References

See: List of Janus commands | List of JANUS DEFINE parameters.