A Debug/Trace Tool
By Rainer Storn
Dr. Dobb's Journal February 1997
(a) #include
extern void dbg_init(void);
extern void dbg(char *, int,
char *, ...);
(b) void main(void)
{
int i, j;
float x, y , z;
dbg_init();
...
}
Example 3: (a) Necessary debug statements in the program you want to debug; (b) initializing the debug/trace tool.
Back to Article
Copyright © 1997, Dr. Dobb's Journal