MCA Logo
MCA Online Reference Documentation
Main Index

7.2. ModuleDebug

Within a module, debug messages can be switched on and off using the MCAadmin tool. Here the function M_DEBUG defined in module_debug.h is recommended. It prints on stdout if the modules debug-flag is switched on independent of global debug level. There are three possibilities to manipulate the debug flag of a module: First by the commands SetDebugOn() and SetDebugOff(). Second, within the MCAadmin tool, using the Debug checkbox of a module. Third, using the command parameter (defined by tPartBase) "dmodules". It takes a comma separated list of module names. Every module checks if its name is in this list before the program loops are executed.