# Debug (Function Call Trace): Overview

Function call trace is a debugging feature that determines the order in which functions were called, and which function calls preceded the current context.

For more details, see `$TwlSDK/docs/TechnicalNotes/AboutProfiler.pdf`.

## Initialization

`OS_InitCallTrace()`

`OS_CalcCallTraceLines()`
`OS_CalcCallTraceBufferSize()`

## Clearing the Buffer

`OS_ClearCallTraceBuffer()`

## Displaying the Trace Contents

`OS_DumpCallTrace()`
`OS_DumpThreadCallTrace()`

## Enabling/Disabling the Function Call Trace

`OS_EnableCallTrace()`
`OS_DisableCallTrace()`
`OS_RestoreCallTrace()`

## See Also

`OS Function List: Debug (Function Call Trace)
`

## Revision History

2008/09/16 Initial version.

CONFIDENTIAL