jeDebug |
09/16/99 |
Author:nebol@home.se ICQ: 2110949 HOMEPAGE: http://www.omtanken.se/valheru
|
OverView | ||||||||||||||||||||||||||||||
#include <jeDebug.h>
jeDebug is a runtime error tracing utility, useful for verifying input to functions etc. How it works : int ReadFromOpenedFile(FILE *fp) If this function is called with a null pointer instead of a valid file handle, the NEEDVALUE(fp) macro will start the jeDebug application (see image 1), and send a message to it that will be displayed in a list. (see image 2). The execution of your application will not be halted, as it is when using the ASSERT macro. If JESYS_DEBUG is not defined, the NEEDVALUE macro will be completely ignored, and will have no impact on your code. Downloading : Files in the zip archive : How to install jeDebug : How to add jeDebug functionality to your application : Features :
Todo :
Background : jeDebug was originally designed for use in my Amiga apps several years ago. It was ported to Win32 a year ago as a component of the JEPP class library, but I took it out and made a separate utility of it. |
||||||||||||||||||||||||||||||
File Members | ||||||||||||||||||||||||||||||
Macros
Functions
|
||||||||||||||||||||||||||||||
jeDebug::StringOutF() | ||||||||||||||||||||||||||||||
static void StringOutF(const char *source, unsigned long line, const char *string, ...); Return Value
Arguments
Remarks Example #ifdef JESYS_DEBUG
"the coordinates
are (%d,%d)",coords.x,coords.y); |
||||||||||||||||||||||||||||||