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.
Debugging a builop code
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
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.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.