Added paranoia checks debug facility. It helps checking that data in
memory haven't changed behind one's back. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25193 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#ifndef DEBUG_PARANOIA_CONFIG_H
|
||||
#define DEBUG_PARANOIA_CONFIG_H
|
||||
|
||||
|
||||
// enable paranoia checks (0/1)
|
||||
#ifndef ENABLE_PARANOIA_CHECKS
|
||||
# define ENABLE_PARANOIA_CHECKS 1
|
||||
#endif
|
||||
|
||||
// number of check slots (should depend on the components for which checks
|
||||
// are enabled)
|
||||
#define PARANOIA_SLOT_COUNT 1024
|
||||
|
||||
|
||||
// macros that enable paranoia checks for individual components
|
||||
|
||||
//#define NET_BUFFER_PARANOIA 1
|
||||
|
||||
|
||||
#endif // DEBUG_PARANOIA_CONFIG_H
|
||||
Reference in New Issue
Block a user