|
LPC Library Functions: trace |
|
NAMEtrace() - sets trace flags and returns the old ones
SYNOPSISint trace( int traceflags );
DESCRIPTIONSets the trace flags and returns the previous trace flags. Tracing allows you to debug the flow of execution in mud objects, but can generate a lot of output. 'traceflags' is an integer composed of trace bits. The trace bits are: 1 - Trace all function calls to lfuns. 2 - Trace all calls to "call_other". 4 - Trace all function returns. 8 - Print arguments at function calls and return values. 16 - Print all executed stack machine instructions (produces a lot of output!) 32 - Enable trace in heart beat functions. 64 - Trace calls to applies. 128 - Show object name in tracing. This efun is only available if the driver flags TRACE and PACKAGE_DEVELOP are defined. SEE ALSO |
|
Page design by Frank Jacquette & Tim Hollebeek Copyright (C) 1998 Tim Hollebeek & Frank Jacquette |
|