nxLibOpenDebugBlock

<< Click to Display Table of Contents >>

Navigation:  NxLib API > C Interface > Other > NxLib >

nxLibOpenDebugBlock

Starts a debug block. This information is used by NxProfiler for its visualization.

Open debug blocks can be closed with nxLibCloseDebugBlock.

Note: Maximum nesting level for debug blocks is 256. Trying to open another block on this level will result with error NxLibNestingLimitReached.

Signature

void nxLibOpenDebugBlock(NXLIBERR* result, NXLIBSTR blockName, NXLIBINT level)

Parameters

result

The error code of the operation.

blockName

Debug block name.

level

Debug level of this block.

enum NxLibDebugLevel

nxdInherit

0

The block will inherit the debug level of its parent.

When no parent debug level is given, this will equal "Info".

nxdInfo

1

Debug level "Info"

nxdDebug

2

Debug level "Debug"

nxdTrace

3

Debug level "Trace"

Return Value

none