Having compiled a program with READY TRACE. & compiled with -ftraceall - where does the output go & can I redirect it to a file of my choice. ??
I see part of the output on the screen but that then disappeared & didn't come back.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you set up the two environment variables before hand it should be in
the file trace.log
COB_SET_TRACE=YES
COB_TRACE_FILE=/path/trace.log
See 10.2.3 in the Programmers Guide
Vince
On 15/12/2021 01:03, David Wall wrote:
Having compiled a program with READY TRACE. & compiled with -ftraceall
- where does the output go & can I redirect it to a file of my choice. ??
I see part of the output on the screen but that then disappeared &
didn't come back.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Actually - it's just so slow that it eventually did do what I was expecting - when I finished the program the last part of the trace appeared on the screen -
How do I capture all of it - maybe a redirection or cobc option ??.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks Vincent - you'd think it 'might' have been mentioned in passing on page 320 where READY TRACE is - however finding it on page 583 is just as good.
Much app - I've been doing the redirection to filename.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Having compiled a program with READY TRACE. & compiled with -ftraceall - where does the output go & can I redirect it to a file of my choice. ??
I see part of the output on the screen but that then disappeared & didn't come back.
If you set up the two environment variables before hand it should be in
the file trace.log
COB_SET_TRACE=YES
COB_TRACE_FILE=/path/trace.log
See 10.2.3 in the Programmers Guide
Vince
On 15/12/2021 01:03, David Wall wrote:
Actually - it's just so slow that it eventually did do what I was expecting - when I finished the program the last part of the trace appeared on the screen -
How do I capture all of it - maybe a redirection or cobc option ??.
I tried a redirection & that appeared to work for a straight .exe - now to try a .dll.
Thanks Vincent - you'd think it 'might' have been mentioned in passing on page 320 where READY TRACE is - however finding it on page 583 is just as good.
Much app - I've been doing the redirection to filename.