BackUp LevelNext

CCFXRequest::Debug

BOOL CCFXRequest::Debug(void)

Checks whether the tag contains the DEBUG attribute. You should use this function to determine whether or not you need to write debug information for this request. (See the CCFXRequest::WriteDebug tag for details on writing debug information.)

Returns TRUE if the tag contains the DEBUG attribute; otherwise, returns FALSE.

Example

The following example checks to see whether the DEBUG attribute is present, and if it is, it writes a brief debug message:

if ( pRequest->Debug() )
{
        pRequest->WriteDebug( "Top secret debug info" ) ;
}

BackUp LevelNext

allaire

AllaireDoc@allaire.com
Copyright © 1998, Allaire Corporation. All rights reserved.