Created On:  21 May 2010

Problem:

How do you setup a CTF Trace while running a Net Express application?

Resolution:

To run the trace:

1.  Create a file called ctf.cfg with the following entries:

mftrace.level=debug
mftrace.dest=BINFILE

## Emitter BINFILE
mftrace.emitter.binfile#location=.\\

## Component Run-time System
mftrace.comp.mf.rts#all=true

## Component External File Handler
mftrace.comp.mf.mffh.xfh#bsio=true
mftrace.comp.mf.mffh.xfh#mem=true
mftrace.comp.mf.mffh.xfh#base=true
mftrace.comp.mf.xfh.mfh.xfh#file:*=true

2.  Set the environment variable MFTRACE_CONFIG:

set MFTRACE_CONFIG=.\\ctf.cfg

3.  Run application. One or more files with the extension .ctb will be created.

Incident #2454368