in reply to Line Numbers
But why don't you just write a debug (or trace) function that you can call. The debug function should print out whatever message it's given, but only if the debug flag is set. You could even make it OO, and make the debug flag a member of the Trace object. Or whatever you want to call it. Then you can do whatever you want in the debug method, including printing out numbered messages, and also printing out caller information, if you want.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: Line Numbers
by Adam (Vicar) on Jul 01, 2000 at 00:40 UTC |