<< 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.
void nxLibOpenDebugBlock(NXLIBERR* result, NXLIBSTR blockName, NXLIBINT level)
result |
The error code of the operation. |
blockName |
Debug block name. |
level |
Debug level of this block. |
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" |
none