PrevNextUpHome SophiaFramework UNIVERSE 5.3
SFDDebug
Class for debugging.
#include <SFDDebug.h.hpp>
class SFDDebug;
SFMTYPEDEFCLASS(SFDDebug)

Description

The SFDDebug class provides the ASSERT / VERIFY / TRACE macro functions.

Reference

Chapter 27, Debugging

Member

Public Functions
static
Bool
Assert( Bool success , ACharConstPtr file , SInt32 line )
Implement the ASSERT / ERIFY / TRACE macro.

SFDDebug::Assert
Implement the ASSERT / ERIFY / TRACE macro.
[ public, static ]
Bool Assert(
    Bool success         
    ACharConstPtr file   
    SInt32 line          
);

Argument

success

If the value of "success" parameter is true, messages are displayed in the output window of BREW Simulator.

file

File name for the messages to be displayed.

line

Line number for the messages to be displayed.

Return value

It returns the value of "success" parameter.

Description

When debugging, not the Assert function but the ASSERT / ERIFY / TRACE macros are used.

Reference

Chapter 27, Debugging