blob: 9c1c4730f848e40541e31ffb89f0238584ec5f7f [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001#ifndef LPC_TRACE_H_
2#define LPC_TRACE_H_
3
4/* Argument values for the trace() efun.
5 */
6
7#define TRACE_NOTHING 0 /* Stop tracing */
8
9#define TRACE_CALL 1 /* Trace all lfun calls */
10#define TRACE_CALL_OTHER 2 /* Trace inter-object calls */
11#define TRACE_RETURN 4 /* Trace function returns */
12#define TRACE_ARGS 8 /* Print function arguments and results */
13#define TRACE_EXEC 16 /* Trace all executed instructions */
14#define TRACE_HEART_BEAT 32 /* Trace heartbeat code */
15#define TRACE_APPLY 64 /* Trace (internal) applies */
16#define TRACE_OBJNAME 128 /* Print the object names */
17
18#endif /* LPC_TRACE_H_ */