Page tree
Skip to end of metadata
Go to start of metadata

This property stipulates the level of debugging to be used when running EditLive!. 

Syntax

Visual Basic Script
object.DebugLevel = strDebug
ASP.NET
prefix:EditLiveJava DebugLevel = strDebug
JavaScript
editliveInstance.setDebugLevel(strDebug);

Parameters

strDebugLevel

A string specifying the level of debugging to run EditLive! with. There are several distinct possible debug levels:

  • fatal
  • error
  • warn
  • info
  • debug
  • http

The default value is info.

Examples

The following code would specify that the debug level is set to debug.

VBScript
elglobal.DebugLevel = "debug"
ASP.NET Server Control
<elj:EditLiveJava 
  ...
  DebugLevel="debug" 
  ... 
/>
JavaScript
editlivejs.setDebugLevel("debug");

Remarks

All information produced via the setting of the debug level is outputted to the Java console.

The following is a list of the possible debug levels in order of increasingly detailed output:

fatal

This debugging level displays only error messages which prevent EditLive! from continuing, thus resulting in termination of the program.

error

This debugging level displays error messages for cases in which EditLive! can continue despite the error. However, the current EditLive! operation will most likely fail due to the relevant error. This debugging level also displays all the information that would be displayed should the debugging level be set to fatal.

warn

This debugging level displays messages indicating that an unexpected error has occurred and this may cause EditLive! to behave in an unexpected manner. However, the current EditLive! operation will most likely be completed successfully. This debugging level also displays all the information that would be displayed should the debugging level be set to error.

info

This debugging level displays messages indicating that an event of some significance has occurred (e.g. a server has requested authentication details). EditLive! expects such events and deals with them accordingly. This debugging level also displays all the information that would be displayed should the debugging level be set to warn.

debug

This debugging level displays any information which may be useful for debugging purposes. This debugging level also displays all the information that would be displayed should the debugging level be set to info.

http

This debugging level displays communications using the HTTP client component of EditLive! (i.e. client server communications). This debugging level is most useful for tracking problems associated with HTTP connections. This debugging level also displays all the information that would be displayed should the debugging level be set to debug.

  • No labels