Debugging

Testify has an extencive debugging iunfrastructure desinged to enable inrosprection of binary data stream and the abillity to debug miss matches of how a

testify_debug_mode_set

void testify_debug_mode_set(THandle *handle, boolean debug, char *text_copy_name);

Description: Allows applications to set the debug mode of a handle. if "debug" is set to TRUE, meta data will be packed with each data containing its type and name. Once this is unpacked the receving end can allert the developer of a miss match ocurrs. A handle can also automaticly be set to debug if it reads in data from a handle set to debug. Data traffic will be significantly larger and slower with the debug mode truned on and it is therefor only intended to be used when debugging. The Entire Debugging system can be removed using macros for maximum preformance by not defining TESTIFY_DEBUG.

testify_network_debug_incomming

void testify_network_debug_incomming(THandle *handle);

Description: prints ot the current state of the incomming buffer

testify_network_debug_outbound

void testify_network_debug_outbound(THandle *handle);

Description: prints ot the current state of the incomming buffer

testify_network_debug_address_print

void testify_network_debug_address_print(TestifyNetworkAddress *address, char *buffer);