nxLibGetDebugMessages

Navigation:  NxLib API > C Interface > Other >

nxLibGetDebugMessages

Previous pageReturn to chapter overviewNext page

Retrieves debug messages when the NxLib debug destination is set to "Buffer". This can also be done remotely from NxLibRemote.

Signatures

Variants throwing exceptions on errors:

static std::string nxLibGetDebugMessages()

Variants returning error codes in an int* parameter:

NXLIBSTR nxLibGetDebugMessages(NXLIBERR* result)

Parameters

result

The error code of the operation. If the message buffer could not hold all streamed messages, the error code NxLibDebugMessageOverflow will be returned. In that case, the returned string will contain only the newest debug messages that could fit into the buffer.

Return Value

The debug strings that have not yet been retrieved.