summaryrefslogtreecommitdiff
path: root/support/ltx2x/l2xiidbg.h
blob: f7915cc9b439ab43b4ef5b563df370392cf71e81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* l2xiidbg.h   for debugging LTX2X interpreter code */
/* BASED ON: idebug.h  (unaltered) */

#ifndef idebug_h
#define idebug_h

extern int DEBUG;            /* debugging severity, 0 = no debug */
extern int Dbasic;           /* DEBUG >= Dbasic  basic debugging */
extern int Dtrace;           /* DEBUG >= Dtrace debug routine call tree */
extern int Dscan;            /* DEBUG >= Dscan  debug scan source buffer */
extern int Dstack;           /* DEBUG >= Dstack  debug runtime stack */
extern int Danalyze;         /* DEBUG >= Danalyze  debug declarations */
extern int Dtraceall;        /* DEBUG >= Dtraceall  debug all code */
extern char dbuffer[];       /* a buffer for debugging use */

/* debug_print(STRING string); print a debugging string */

  /* entry_debug and exit_debug must be used as a pair */
/* entry_debug(STRING name); print routine "name-string" at routine entry */
/* exit_debug(STRING name);  print routine "name-string" at routine exit */

#endif