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

CCFXRequest::WriteDebug

void CCFXRequest::WriteDebug(LPCSTR lpszOutput)

Writes text output into the debug stream. The text is only displayed to the end-user if the tag contains the DEBUG attribute. (For more information, see CCFXRequest::Debug.)

Parameter

Description

lpszOutput

Text to output

The following example checks whether the DEBUG attribute is present; if so, 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::WriteDebug 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.