![]() |
vitasdk
Documentation of the vitasdk
|
#include <psp2/types.h>Go to the source code of this file.
Macros | |
| #define | SCE_DBG_COMPONENT NULL |
| Macro for the component SceLibDbg is being called within. | |
| #define | SCE_DBG_BREAK_ON_ASSERT 1 |
| Set whether or not to break/stop when an assertion fails. | |
| #define | SCE_DBG_BREAK_ACTION asm volatile ("bkpt 0x0") |
| Set the break/stop action when an assertion fails. | |
| #define | SCE_DBG_ASSERT(expression) |
| Assertion macro. | |
| #define | SCE_DBG_ASSERT_MSG(expression, msg, ...) |
| Assertion macro with custom msg. | |
| #define | SCE_DBG_LOG(logLevel, msg, ...) sceDbgLoggingHandler(__FILE__, __LINE__, logLevel, SCE_DBG_COMPONENT, msg, ##__VA_ARGS__) |
| Logging macro. | |
| #define | SCE_DBG_LOG_TRACE(msg, ...) SCE_DBG_LOG(SCE_DBG_LOG_LEVEL_TRACE, msg, ##__VA_ARGS__) |
| Logging macros for individual log levels. | |
| #define | SCE_DBG_LOG_INFO(msg, ...) SCE_DBG_LOG(SCE_DBG_LOG_LEVEL_INFO, msg, ##__VA_ARGS__) |
| #define | SCE_DBG_LOG_DEBUG(msg, ...) SCE_DBG_LOG(SCE_DBG_LOG_LEVEL_DEBUG, msg, ##__VA_ARGS__) |
| #define | SCE_DBG_LOG_WARNING(msg, ...) SCE_DBG_LOG(SCE_DBG_LOG_LEVEL_WARNING, msg, ##__VA_ARGS__) |
| #define | SCE_DBG_LOG_ERROR(msg, ...) SCE_DBG_LOG(SCE_DBG_LOG_LEVEL_ERROR, msg, ##__VA_ARGS__) |
Enumerations | |
| enum | SceDbgLogLevel { SCE_DBG_LOG_LEVEL_TRACE = 0 , SCE_DBG_LOG_LEVEL_DEBUG , SCE_DBG_LOG_LEVEL_INFO , SCE_DBG_LOG_LEVEL_WARNING , SCE_DBG_LOG_LEVEL_ERROR , SCE_DBG_NUM_LOG_LEVELS } |
| Logging level for sceDbgLoggingHandler. More... | |
Functions | |
| int | sceDbgAssertionHandler (const char *file, int line, int unk, const char *component, const char *msg,...) |
| Handler for assertion logging in this library. | |
| int | sceDbgLoggingHandler (const char *file, int line, SceDbgLogLevel logLevel, const char *component, const char *msg,...) |
| Handler for logging in this library. | |
| void | sceDbgSetBreakOnErrorState (SceBool breakOnError) |
| Set whether or not to enter a breakpoint upon logging an error. | |
| void | sceDbgSetBreakOnWarningState (SceBool breakOnWarning) |
| Set whether or not to enter a breakpoint upon logging a warning. | |
| void | sceDbgSetMinimumLogLevel (SceDbgLogLevel level) |
| Set the minimum logging level. | |