CTF Configuration

Hi All

I am running VC 6.0.  In development region, I wanted to find out the list of modules getting called in some of the complex transactions. I enabled CTF and I was able to get the log. But it has so many events. I would like to get only specific event like the list of called programs. Is it possible ? Also Is it possible to restrict CTF for only specific modules ?

CTF config file used

mftrace.dest = binfile
mftrace.emitter.binfile#location = C:\ctf\logs
mftrace.level.mf.rts = info
mftrace.comp.mf.rts#pgm = true
mftrace.comp.mf.rts#pgmload = true
mftrace.comp.mf.rts#syspgm = true

  • If you only want to see the entry to and exit from your called programs then you should just specify:

    mftrace.dest = binfile
    mftrace.emitter.binfile#location = C:\ctf\logs
    mftrace.level.mf.rts = info
    mftrace.comp.mf.rts#pgm = true

    It will still show you the rts initialization and deinitialization but most everything else should be suppressed.

    You can configure ctf to only trace a specific application but not a specific module within an application.
    To do this you use the mftrace.application option documented here.

    In ctfviewer you can also setup filters to only display certain event codes.
    This is done under Tools-->Filters.

    Example: to only see the program entry points filter on event 6.