CTF Trace Incomplete; Only Contains Last Portion of Trace

0 Likes
over 1 year ago

Symptoms

The Micro Focus Consolidated Tracing Facility (CTF) can be very useful in capturing information about what's happening within the various components of the COBOL Runtime system, and your application. In some cases, you may find that the generated CTF trace file seems incomplete, and only shows the last portion of the expected information. 
 

Diagnosis

This can happen when the traced application is using multiple languages, processes or threads, which are each trying to write to the CTF trace file. (One example of this might be an application that uses both the Native and .NET COBOL Runtimes.)
 

Solution

To avoid this issue, you can add the MULTIPROC emitter property to the specified CTF settings. For example:

If requesting a binary CTF trace file:mftrace.emitter.binfile#multiproc=true

 

If requesting a text CTF trace file:mftrace.emitter.textfile#multiproc=true

 

Additional Information

For more information about CTF Tracing, this Micro Focus Knowledge Base article provides some introductory information about CTF. Complete coverage can be found in the CTF Topic in the Product Documentation.

 

 

Tags:

Labels:

CTF
Consolidated Tracing Facility
Comment List
Anonymous
Related Discussions
Recommended