#include <stdio.h>
Go to the source code of this file.
|
#define | CEPTR_DEBUG |
|
#define | DEBUG_DEFAULT_MASK D_NONE |
|
#define | DEBUG_MASK 0 |
|
#define | DEBUGGER raise(SIGINT) |
|
#define | debugging(type) ((type)&G_debug_mask) |
|
#define | _debug(type,...) do {fprintf(stderr,"D%s: ",dtypestr(type));fprintf(stderr,__VA_ARGS__);}while(0); |
|
#define | debug(type,...) do {if debugging(type) _debug(type,__VA_ARGS__);} while(0); |
|
|
enum | {
D_NONE =0x0000,
D_ALL =0xFFFF,
D_SPEC =0x8000,
D_SIGNALS =0x0001,
D_REDUCE =0x0002,
D_REDUCEV =0x0004,
D_STX_MATCH =0x0008,
D_CLOCK =0x0010,
D_STREAM =0x0020,
D_LOCK =0x0040,
D_LISTEN =0x0080,
D_PROTOCOL =0x0100,
D_TREE =0x0200,
D_TRANSCODE =0x0400,
D_STEP =0x0800,
D_SOCKET =0x1000,
D_BOOT =0x2000,
D_STX_BUILD =0x4000
} |
|
|
char * | dtypestr (int type) |
|
void | debug_enable (int type) |
|
void | debug_disable (int type) |
|
- Copyright
- Copyright (C) 2013-2016, The MetaCurrency Project (Eric Harris-Braun, Arthur Brock, et. al). This file is part of the Ceptr platform and is released under the terms of the license contained in the file LICENSE (GPLv3).
Definition in file debug.h.