nn::dbg::CTR Namespace

Description

The namespace of the CTR debug assist library.
(This namespace can also be written without the ::CTR part.)

Classes

nn::dbg::CTR::DirectPrint Class for directly writing characters to the display buffer using the CPU.
nn::dbg::CTR::ExceptionScreen Class for displaying when there are CPU exceptions.
nn::dbg::CTR::Instrument Instrumentation class for tracing function calls.
nn::dbg::CTR::Statistics Statistics class for tracing function calls.

Constants

ArgBufferSize const size_t Maximum size of the startup argument buffer.
Argv0String const char The string representing the application name, returned when calling GetArgv and passing 0 as the argument.

Functions

Startup Arguments
GetArgBinary Gets the argument buffer stored in binary.
GetArgBinarySize Gets the size of the argument buffer stored in binary.
GetArgc Gets the number of arguments from the argument buffer, stored as a string array.
GetArgv Gets the arguments from the argument buffer, stored as a string.
GetOpt Analyzes options from the argument buffer, stored as a string.
GetOptInd Gets the index to the argument to process next when analyzing options.
GetOptArg During option analysis, gets either the next option or the text after an option.
GetOptOpt Stores any character that could not be recognized during option analysis.

Revision History

2011/12/14
Added descriptions of startup arguments.
2011/07/29
Initial version.

CONFIDENTIAL