MIAMEX 61: Get TRACE flags

Updated October 2016; see History

xcall MIAMEX, MX_GETTRACE, trflags

MX_GETTRACE retrieves the current set of trace options. trflags (F,6) will be set to indicate the current trace options from the following table. When specifying trace operations in miame.ini, use the symbol name with the TROP_ prefix. All log operations are written to ashlog.log, and the traces which go to the ashlog file will also go to the Debug Message Window if it is open. See Event Tracing for a detailed description of tracing functionality.

Symbol

Value

Notes

TROP_AMSORT

&h00000001

Display sorting trace dialog

TROP_SYSERR

&h00000002

Display system error dialog

TROP_SQL

&h00000004

SQL tracing

TROP_LP

&h00000008

Line printer tracing display

TROP_SIGNAL

&h00000010

Display received signals

TROP_SIGHUP

&h00000020

Log hang-ups

TROP_LOCKS

&h00000040

Display lock trace

TROP_LOG

&h00000080

Log various details

TROP_JOBS

&h00000100

Log job info

TROP_QOPEN

&h00000200

Log qflock opening

TROP_GDIPRT

&h00000400

Display GDI print directives

TROP_FOPENS

&h00000800

Log file opens

TROP_XCALL

&h00001000

Log XCALLs

TROP_AMOS

&h00002000

Log xcall AMOS operations

TROP_DEBUG

&h00004000

Log maximum details

TROP_INOUT

&h00008000

Log ins & outs

TROP_BASERR

&h00010000

Log BASIC errors

TROP_ISAM

&h00020000

Log ISAM operations

TROP_USRMEM

&h00040000

Log user memory operations

TROP_MALLOC

&h00080000

Log memory allocations

TROP_RW

&h00100000

Log reads and writes

TROP_SOCKS

&h00200000

Log socket operations

TROP_XLOCKS

&h00400000

Log XLOCK calls

TROP_XDEBUG

&h00800000

Combine with other flags to increase detail

TROP_PERF

&h01000000

Log performance for certain operations

TROP_GUI

&h02000000

Log internal GUI operations

TROP_EFS

&h04000000

Log Encrypted File System (EFS) operations

TROP_ATE

&h08000000

Log ATE commands

TROP_KBD

&h10000000

Log keyboard data and operations

TROP_XTREE

&h20000000

Log XTREE operations

TROP_JOBLCK

&h010000000

Causes all unresolved lock/unlock operations on the jobtbl.sys file to be traced in the file jobtbl.lck. Note that the bit TROP_JOBLCK is beyond the 32 bit range of the typical 32 bit flags word, so you need to use B5, B6, I6, or F6/F8 to retrieve or set this bit.

Definition file: ashell.def

Hex-Decimal Values

 

History

2016 September, A-Shell 6.3.1526:  Add TROP_JOBLCK.