debugger.H

00001 /* File:      debugger.H
00002 ** Author(s): David S. Warren
00003 ** Contact:   xsb-contact@cs.sunysb.edu
00004 ** 
00005 ** Copyright (C) The Research Foundation of SUNY, 1986, 1993-1998
00006 ** Copyright (C) ECRC, Germany, 1990
00007 ** 
00008 ** XSB is free software; you can redistribute it and/or modify it under the
00009 ** terms of the GNU Library General Public License as published by the Free
00010 ** Software Foundation; either version 2 of the License, or (at your option)
00011 ** any later version.
00012 ** 
00013 ** XSB is distributed in the hope that it will be useful, but WITHOUT ANY
00014 ** WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00015 ** FOR A PARTICULAR PURPOSE.  See the GNU Library General Public License for
00016 ** more details.
00017 ** 
00018 ** You should have received a copy of the GNU Library General Public License
00019 ** along with XSB; if not, write to the Free Software Foundation,
00020 ** Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00021 **
00022 ** $Id: debugger.H,v 1.19 2003/07/22 19:47:07 lfcastro Exp $
00023 ** 
00024 */
00025 
00026 
00027 /* Trace and Debug package */
00028 
00029 :- export debug/0, nodebug/0, dump/0, trace_stack_max/0, notrace_stack_max/0,
00030           (spy)/1, (nospy)/1, trace/0, notrace/0, piltrace/0, hitrace/0,
00031           nosimtrace/0, debugging/0, debug_ctl/2.
00032 :- export '_$deb_trace'/1, '_$deb_spy'/1, '_b_SPY_condition'/1,
00033         show/1, leash/1.
00034 
00035 :- import set_inthandler/2, '_$load_undef'/1, load_pred/1 from loader.
00036 :- import file_write/2 from xsb_writ.
00037 
00038 :- import =.. /2, \= /2, functor/3, atom/1, is_list/1, call/1, cputime/1,
00039           call/1, see/1, seeing/1, seen/0, repeat/0, read/1, warning/1,
00040           abort/0, abort/1, (import)/1, callable/1
00041      from standard.
00042 
00043 :- import assert/1 from assert.
00044 :- import (dynamic)/1, assert0/1, retract/1, retractall/1 from assert.
00045 
00046 :- import break/0, prompt/3 from x_interp.
00047 :- import term_psc/2, psc_insert/4, stat_flag/2, stat_set_flag/2, 
00048           psc_name/2, psc_type/2, psc_ep/2, psc_spy/2, psc_set_spy/2,
00049           psc_arity/2, conname/2, code_call/3, term_arg/3, term_type/2,
00050           term_new/2
00051      from machine.
00052 :- import standard_symbol/3 from std_xsb.
00053 :- import predicate_property/2, current_predicate/1 from curr_sym.
00054 :- import findall/3, setof/3 from setof.
00055 
00056 % := hide debug/0.
00057 
00058 :- import hide_this_show/2, hide_this_hide/2, show_this_hide/2,
00059         trace_this_print/2, trace_this_noprint/2,
00060         is_xpar_call/2,
00061         trace_standard_predicate/2, debug_display_call_hook/1, 
00062         trace_this_enable_print_on_redo/2,
00063         '_$_deb_user_hidden'/2,
00064         '_$_deb_old_show'/1, '_$_debugger_data_loaded'/0,
00065         '_$_deb_old_leash'/1, '_$_deb_cputime_stack'/1
00066    from usermod.
00067 :- import xsb_configuration/2 from xsb_configuration.
00068 
00069 :- import fmt_write_string/3, file_flush/2 from file_io.
00070 :- import file_get/2, file_put/2, file_flush/2 from file_io.
00071 :- import file_reopen/4, file_clone/3 from file_io.
00072 
00073 :- dynamic debug_display_call_hook(_), '_$_debugger_data_loaded'/0.
00074 :- dynamic '_$_deb_old_leash'/1, '_$_deb_old_show'/1, '_$_deb_cputime_stack'/1.
00075 :- dynamic '_$_deb_user_hidden'/2.
00076 :- dynamic hide_this_hide(_,_), hide_this_show(_,_), show_this_hide(_,_).
00077 :- dynamic trace_this_noprint(_,_), trace_this_print(_,_), 
00078         trace_standard_predicate(_,_), is_xpar_call(_,_),
00079         trace_this_enable_print_on_redo(_,_).
00080 
00081 :- import conset/2, conget/2 from gensym.
00082 
00083 :- import (:-)/2 from usermod.
00084 
00085 /* --------------------- end of file debugger.H ----------------------- */

Generated on Wed Jul 26 13:30:47 2006 for XSB by  doxygen 1.4.5