ZeroErr
debugbreak.h File Reference
#include <signal.h>
#include <fstream>
Include dependency graph for debugbreak.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEBUG_BREAK_USE_TRAP_INSTRUCTION   1
 
#define DEBUG_BREAK_USE_BULTIN_TRAP   2
 
#define DEBUG_BREAK_USE_SIGTRAP   3
 
#define DEBUG_BREAK_IMPL   DEBUG_BREAK_USE_SIGTRAP
 

Functions

 __attribute__ ((always_inline)) __inline__ static void debug_break(void)
 

Macro Definition Documentation

◆ DEBUG_BREAK_IMPL

#define DEBUG_BREAK_IMPL   DEBUG_BREAK_USE_SIGTRAP

◆ DEBUG_BREAK_USE_BULTIN_TRAP

#define DEBUG_BREAK_USE_BULTIN_TRAP   2

◆ DEBUG_BREAK_USE_SIGTRAP

#define DEBUG_BREAK_USE_SIGTRAP   3

◆ DEBUG_BREAK_USE_TRAP_INSTRUCTION

#define DEBUG_BREAK_USE_TRAP_INSTRUCTION   1

Function Documentation

◆ __attribute__()

__attribute__ ( (always_inline)  )