2 Copyright © 2002, The AROS Development Team.
22 #include <aros/debug.h>
24 #else /* ! __AROS__ */
27 # define bug DebugPrintF
33 #define ASSERT_VALID_PTR(x)
39 # include <proto/exec.h>
40 # define D(x) do {Forbid();DebugPrintF("%s/%ld Task \"%s\" [%s()] => ", __FILE__, __LINE__, FindTask(NULL)->tc_Node.ln_Name,__PRETTY_FUNCTION__);(x);Permit();} while(0);
42 void kprintf(char *string
, ...);
43 # define D(x) {kprintf("%s/%ld (%s): ", __FILE__, __LINE__, FindTask(NULL)->tc_Node.ln_Name);(x);};
51 #endif /* ! __AROS__ */
53 #endif /* __DEBUG_H */