# Synopsis

void hdb_SetOption(long option)

# Purpose

Set heap debugger option.

# Description

Set a heap debugging option. This function can be called interactively from a debugger to set debugging options. Multiple options can be specified by logically ORing them together.

# Input

## option

### HDB_TRACE_FILE

Write heap calls to trace file

### HDB_VALIDATE_HEAP

Validate heap with each call

### HDB_CHECK_FREES

Verify that freed memory is not modified after it has been freed

### HDB_ZERO_FREES

Zero out memory before freeing it

### HDB_NO_MEMORY

Simulate being out of memory