### Tiled Debug Functions (OS/2)

The tiled functions also have debug versions that work just like the regular and heap-specific debug versions. Use these functions to allocate and free memory from the tiled IBM C and C++ Compilers run-time heap. They also provide information that you can use to debug memory

You can use the /Tm+ and /Gt compiler options to map calls to the regular memory management functions to their tiled debug counterparts. You can also call the debug versions of the tiled functions explicitly. If you parenthesize the calls to the heap-specific memory management functions, they are not mapped to their debug versions.

The names of the tiled debug versions are prefixed by _debug_t, for example, _debug_tmalloc, and they are defined in <malloc.h> and <stdlib.h>.

The tiled debug functions are:

- _debug_tcalloc
- _debug_tfree
- _debug_theapmin
- _debug_tmalloc
- _debug_trealloc
- _tdump_allocated
- _tdump_allocated_delta
- _theap_check

Manage Memory with Multiple Heaps
Memory Management Functions
Heap-Specific Functions

Debug Heap Use