Please enable JavaScript to view this site.

OutputDebugString Checker Help

The Line Pragma page of the settings dialog allows you to specify a line pragma that can be used to mark individual locks to be ignored when checking for function call usage.

 

This allows you identify special use cases in your source code to avoid FALSE positives from OutputDebugString Checker.

 

 

 settingsLinePragma

 

 

When line pragmas are enabled any line containing the specified line pragma in a comment (single line comment or multi-line comment) will be ignored when checking for function call usage.

 

If the line pragma is enabled, the line pragma cannot be empty or whitespace. We recommend a value that is unique across your codebase so that you can find all line pragmas easily if you need to search for them.

 

Example usage of the pragma in code:

 

   OutputDebugString(_T("NVIDIA Properties Dump\r\n"));      // SVL_ODS_PRAGMA