This document is for a version of USD that is under development. See this page for the current release.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
debug.h File Reference

Conditional debugging output class and macros. More...

+ Include dependency graph for debug.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TfDebug
 Enum-based debugging messages. More...
 

Macros

#define TF_DEBUG_CODES(...)
 Define debugging symbols.
 
#define TF_CONDITIONALLY_COMPILE_TIME_ENABLED_DEBUG_CODES(condition, ...)
 Define debugging symbols.
 
#define _TF_DEBUG_MAKE_STRING(x)   #x,
 
#define _TF_DEBUG_ENUM_NAME(...)    TF_PP_CAT(_TF_DEBUG_FIRST_CODE(__VA_ARGS__, dummy), __DebugCodes)
 
#define _TF_DEBUG_FIRST_CODE(first, ...)   first
 
#define TF_DEBUG_MSG(enumVal, ...)
 Evaluate and print debugging message msg if enumVal is enabled for debugging.
 
#define TF_DEBUG(enumVal)
 Evaluate and print debugging message msg if enumVal is enabled for debugging.
 
#define TF_INFO(x)
 Evaluate and print diagnostic messages intended for end-users.
 
#define TF_DEBUG_TIMED_SCOPE(enumVal, ...)
 Print description and time spent in scope upon beginning and exiting it if enumVal is enabled for debugging.
 
#define TF_DEBUG_ENVIRONMENT_SYMBOL(VAL, descrip)
 Register description strings with enum symbols for debugging.
 

Detailed Description

Conditional debugging output class and macros.

Definition in file debug.h.