Module lillib:debug

This module provides useful debugging routines.

Version

April 07, 1999

Since

July 08, 1998

Author


Contents

Predicate


Top of this page Contents Index of this package LiLFeS Documents LiLFeS Home Page Tsujii laboratory

Predicate

set_debug_mode/1

Formatset_debug_mode(+$KEY)
Arguments
+$KEYbot a key for a debug mode
See alsounset_debug_mode/1 is_debug_mode/1 debug_message/3 debug_message/2 error_message/2 error_message/1
This predicate enables the debug mode corresponding to $KEY. $KEY = "error" corresponds to the error mode, and is set by default.

unset_debug_mode/1

Formatunset_debug_mode(+$KEY)
Arguments
+$KEYbot a key for a debug mode
See alsoset_debug_mode/1 is_debug_mode/1 debug_message/3 debug_message/2 error_message/2 error_message/1
This predicate disables the debug mode corresponding to $KEY. $KEY = "error" corresponds to the error mode, and is set by default.

is_debug_mode/1

Formatis_debug_mode(+$KEY)
Arguments
+$KEYbot a key for a debug mode
See alsoset_debug_mode/1 unset_debug_mode/1 debug_message/3 debug_message/2 error_message/2 error_message/1
This predicate succeeds when the debug mode corresponding to $KEY is enabled. $KEY = "error" corresponds to the error mode, and is enabled by default.

debug_message/3

Formatdebug_message(+$KEY, +$MESSAGE, +$ARGS)
Arguments
+$KEYbot a key for a debug mode
+$MESSAGEstring a message
+$ARGSlist arguments for the message
See alsoset_debug_mode/1 unset_debug_mode/1 is_debug_mode/1 debug_message/2 io:'format/3'
This predicate prints a debug message if the debug mode $KEY is enabled. Otherwise, do nothing. $MESSAGE and $ARGS follow the description of 'format/3'

debug_message/2

Formatdebug_message(+$KEY, +$MESSAGE)
Arguments
+$KEYbot a key for a debug mode
+$MESSAGEstring a message
See alsoset_debug_mode/1 unset_debug_mode/1 is_debug_mode/1 debug_message/3 io:'format/2'
This predicate prints a debug message if the debug mode $KEY is enabled. Otherwise, do nothing.

error_message/2

Formaterror_message(+$MESSAGE, +$ARGS)
Arguments
+$MESSAGEstring a message
+$ARGSlist arguments for the message
See alsoset_debug_mode/1 unset_debug_mode/1 is_debug_mode/1 error_message/1 io:'format/3'
This predicate prints an error message if the debug mode "error" is enabled. Otherwise, do nothing. $MESSAGE and $ARGS follow the description of 'format/3'

error_message/1

Formaterror_message(+$MESSAGE)
Arguments
+$MESSAGEstring a message
See alsoset_debug_mode/1 unset_debug_mode/1 is_debug_mode/1 error_message/2 io:'format/2'
This predicate prints an error message if the debug mode "error" is enabled. Otherwise, do nothing.

Top of this page Contents Index of this package LiLFeS Documents LiLFeS Home Page Tsujii laboratory

Send comments to:
MITSUISHI Yutaka (mitsuisi@is.s.u-tokyo.ac.jp)
MIYAO Yusuke (yusuke@is.s.u-tokyo.ac.jp)

This document is automatically created by lildoc on Fri Sep 24 14:13:58 2004