xcall MIAMEX, MX_SETTRACE, trflags
MX_SETTRACE allows you to set tracing options on the fly. trflags (Num) may be set to any combination of the tracing flags in the table shown under MIAMEX 61 above. See Event Tracing for a detailed description of tracing functionality.
Tracing flags may also be set with the TRACE statement in the miame.ini or with the SET TRACE options; see those discussions for more details about these options.
Note that all of the traces which go to the ashlog file will also go to the Debug Message Window if it is open, and, conversely, you can activate any of the traces from Debug Message Window by right-clicking on it and picking Properties.