Contents > CFML Reference > ColdFusion C++ CFX Reference > CCFXRequest class > CCFXRequest::Debug PreviousNext

CCFXRequest::Debug

BOOL CCFXRequest::Debug(void) 

Checks whether the tag contains the DEBUG attribute. Use this function to determine whether to write debug information for a request. For more information, see CCFXRequest::WriteDebug.

Returns True if the tag contains the DEBUG attribute; False, otherwise.

The following example checks 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" ) ;
}

Contents > CFML Reference > ColdFusion C++ CFX Reference > CCFXRequest class > CCFXRequest::Debug PreviousNext

ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting

Version 6.1

Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.