[PD-dev] i need some help with this

Mathieu Bouchard matju at sympatico.ca
Sat Aug 31 16:04:57 CEST 2002


On Sat, 31 Aug 2002, Olaf Matthes wrote:
> to get performed and everything's all right. It's always a good idea to add
> something like 'post("here we are");' to your code to see if all parts get
> executed...

a very useful macro for that:

#define L fprintf(stderr,"%s:%d\n",__FILE__,__LINE__);

so I sprinkle a few L's in a piece of code and when it runs it prints the
filename and linenumber like the debugger would do in a stack backtrace.

(note: L stands for Log)

________________________________________________________________
Mathieu Bouchard                       http://artengine.ca/matju





More information about the Pd-dev mailing list