Added Nitfol and Frotz source code.
[projects/chimara/chimara.git] / interpreters / nitfol / debug.h
1 /* This is a Cfunctions (version 0.24) generated header file.
2    Cfunctions is a free program for extracting headers from C files.
3    Get Cfunctions from `http://www.hayamasa.demon.co.uk/cfunctions'. */
4
5 /* This file was generated with:
6 `cfunctions -i debug.c' */
7 #ifndef CFH_DEBUG_H
8 #define CFH_DEBUG_H
9
10 /* From `debug.c': */
11
12 #ifndef DEBUGGING
13 #define debug_object(o, t)
14 #define debug_attrib(a, o)
15
16 #endif
17 typedef enum { CONT_GO, CONT_STEP, CONT_NEXT, CONT_FINISH, CONT_UNTIL, CONT_STEPI, CONT_NEXTI }Cont_type;
18 extern BOOL enter_debugger;
19
20 #ifdef DEBUGGING
21 extern BOOL exit_debugger;
22 extern infix_file * cur_file;
23 extern int cur_line;
24 extern int cur_break;
25 extern int cur_stack_depth;
26 extern int infix_selected_frame;
27 void set_step (Cont_type t , int count );
28 int infix_set_break (offset location );
29 void infix_delete_breakpoint (int breaknum );
30 void infix_set_cond (int breaknum , const char *condition );
31 void infix_set_ignore (int breaknum , int count );
32 void infix_set_break_enabled (int breaknum , BOOL enabled );
33 void infix_show_all_breakpoints (void);
34 void infix_show_breakpoint (int breaknum );
35 int infix_auto_display (const char *expression );
36 void perform_displays (void);
37 void infix_auto_undisplay (int displaynum );
38 void infix_set_display_enabled (int displaynum , BOOL enabled );
39 const char * debug_decode_number (unsigned number );
40 extern unsigned opcode_counters[];
41 void check_watches (void);
42 void debug_prompt (void);
43 void infix_select_frame (int num );
44 void infix_show_frame (int frame );
45 void infix_backtrace (int start , int length );
46 extern const char * watchnames[];
47 void debug_object (zword objectnum , watchinfo type );
48 void debug_attrib (zword attribnum , zword objectnum );
49
50 #endif
51
52 #endif /* CFH_DEBUG_H */