Function


msoPrintfInit

Initializes to utilize msoPrintf( )

Syntax

#include <mso/debug.h>
msoPrintfInit( const u32 mode )

Description

Initializes to utilize msoPrintf( ) When mode == MSO_DEBUG_ISV, IS VIEWER N64 mode is used. When mode == MSO_DEBUG_OS, osSyncPrintf() mode is used.

Macro



_msoPrintfInit

Syntax

#include <mso/debug.h>
_msoPrintfInit( )

Description

When the macro __ISV__ is set, msoPrintfInit( MSO_DEBUG_ISV ) is called. When it is not, msoPrintfInit( MSO_DEBUG_OS ) is called.

CDEBUG

Executes cmd when the value of the macro __DEBUG__ is greater than level

Syntax

#include <mso/debug.h>
CDEBUG( level, cmd )

Description

Executes cmd when the value of the macro __DEBUG__ is greater than level.

CASSERT

If the value of the macro __DEBUG__ is level and the conditional expression ex is true, display is in the format ASSERT filename:line ex.

Syntax

#include <mso/debug.h>
CASSERT( level, ex )

Description

If the value of the macro __DEBUG__ is level and the conditional expression ex is true, display is in the format ASSERT filename:line ex.