# Debugging Macros

The names of the debugging macros have changed as shown in Table 45. If you define the old macros, the Intel® Threading Building Blocks (Intel® TBB) library sets each undefined new macro in a way that duplicates the behavior the old macro settings.

The old TBB_DO_ASSERT enabled assertions, full support for Intel® Threading Tools, and performance warnings. These three distinct capabilities are now controlled by three separate macros as described in Enabling Debugging Features.

### Tip

To enable all three capabilities with a single macro, define TBB_USE_DEBUG to be 1. If you had code under `"#if TBB_DO_ASSERT"` that should be conditionally included only when assertions are enabled, use `"#if TBB_USE_ASSERT"` instead.

Deprecated Macros
Deprecated Macro | New Macro
--- | ---
TBB_DO_ASSERT | TBB_USE_DEBUG or `TBB_USE_ASSERT`, depending on context.
`TBB_DO_THREADING_TOOLS` | `TBB_USE_THREADING_TOOLS`

Parent topic: Compatibility Features

## See Also

Enabling Debugging Features