docs.roxen.comView this page in a printer friendly mode
DocsRoxenWebServer 6.1Web Developer ManualProgramming Tags
Copyright  2018, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com
 DEMO  DOCS  PIKE
 COMMUNITY  DOWNLOAD
www.roxen.com



<cache>
<?cdata ?>
<cgi>
<clear-session>
<combine-path>
<crypt>
<debug>
<dice>
<eval>
<force-session-id>
<fsize>
<gauge>
<guess-content-type>
<hash-hmac>
<maketag>
<nocache>
<nooutput>
<noparse>
<?noparse ?>
<page-size>
<?perl ?>
<?pike ?>
<serve-static-resources>
<servlet>
<session>
<set-max-cache>
<trace>
<writefile>
<xml-rpc-call>

<debug/>

Provided by module: Tags: RXML tags

Helps debugging RXML-pages as well as modules. When debugging mode is turned on, all error messages will be displayed in the HTML code.


Attributes

on

Turns debug mode on.


off

Turns debug mode off.


toggle

Toggles debug mode.


showvar="variable"

Shows the value of the given variable in a generic debug format that works regardless of the type.


showscope="scope"

Shows all the variables in the given scope in a generic debug format.


showlog

Shows the debug log.


showid="string"

Shows a part of the id object. E.g. showid="id->request_headers".


sleep="{int, float}"

Delays RXML execution for the current request the specified number of seconds.


werror="string"

When you have access to the server debug log and want your RXML page to write some kind of diagnostics message or similar, the werror attribute is helpful.

This can be used on the error page, for instance, if you'd want such errors to end up in the debug log:

<debug werror='File &page.url; not found! (linked from &client.referrer;)'/>

The message is also shown the request trace, e.g. when "Tasks"/"Debug information"/"Resolve path..." is used in the configuration interface.