Page 1 of 1

Debugging a builop code

Posted: Sat Sep 23, 2006 1:29 pm
by sidharth
Hi,
Is there a way by which one can debug a builop code ?
Are there any variable display commands, which might print intermediate values ?

Thanks for the reply.

Posted: Sat Sep 23, 2006 3:35 pm
by ray.wurlod
It really depends on what tools you have available. Yes, you can issue calls to functions like printf(), but these end up in a file in the &PH& folder. Of course, you can direct any output to a file. Your C programming environment may have its own facilities, such as a debug object. Check; this may be a more sensible utility. And, of course, you can conditionally compile your debugging statements via #define, #ifdef and related directives.