Base Framework
Static Public Member Functions | Static Public Attributes | List of all members
Debug Class Reference

#include <base/Base.h>

Static Public Member Functions

static void setUseBreakpoint (bool useBreakpoint) noexcept
 
static const char * getRootPath () noexcept
 
static const char * getRelativePath (const char *path) noexcept
 
static bool isDebuggerAttached () noexcept
 
static void breakpoint () noexcept
 

Static Public Attributes

static decltype(sizeof(void *) allocateUniqueId )() noexcept
 

Detailed Description

Debug helper functions.

Member Function Documentation

◆ breakpoint()

static void Debug::breakpoint ( )
staticnoexcept

Breakpoint.

◆ getRelativePath()

static const char* Debug::getRelativePath ( const char *  path)
staticnoexcept

Returns the relative path to the root path for the Base Framework includes.

◆ getRootPath()

static const char* Debug::getRootPath ( )
staticnoexcept

Returns the root path for the Base Framework includes.

◆ isDebuggerAttached()

static bool Debug::isDebuggerAttached ( )
staticnoexcept

Returns true if debugger is attached.

◆ setUseBreakpoint()

static void Debug::setUseBreakpoint ( bool  useBreakpoint)
staticnoexcept

Disables/enables breakpoint.

Member Data Documentation

◆ allocateUniqueId

decltype(sizeof(void*) Debug::allocateUniqueId) () noexcept
staticnoexcept

Returns a unique ID for the runtime session.