Debugger

The Debugger tag allows debugging your Mate code (EventHandlers and sub-handlers blocks, MessageHandlers, etc). When using this tag, you specify a level of debugging, which will filter the type of messages you see.

It is recommended that you remove this tag from your code when you are ready to deploy. Its use during production will impact performance if you enabled the debugging in many objects (ie: in many EventHandlers) or if you specified a low debugging level such as ALL or DEBUG.

<mate:Debugger level="{Debugger.ALL}" />

Attributes

level

int
Provides access to the level the debugger is currently set at. Value values are:

  • Debugger.FATAL: designates events that are very harmful and will eventually lead to application failure
  • Debugger.ERROR: designates error events that might still allow the application to continue running.
  • Debugger.WARN: designates events that could be harmful to the application operation
  • Debugger.INFO: designates informational messages that highlight the progress of the application at coarse-grained level.
  • Debugger.DEBUG: designates informational level messages that are fine grained and most helpful when debugging an application.
  • Debugger.ALL: intended to force a target to process all messages.

0 responses so far

Leave a response

If you need help or want to comment on something not related to this page, please post in the forums. Thanks!