UNPKG

@ciao-lang/ts-ciao-interface

Version:

Simple Ciao interface for node.

57 lines 14.8 kB
<!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><meta name="theme-color" content="#273f79"/><link rel="stylesheet" href="lpdoc.css" type="text/css"/><script type="text/javascript" src="lpdoc.js"></script><title>Predicates controlling the interactive debugger &mdash; The Ciao System v1.22</title></head><body><div class="lpdoc-page fixleftbar"><a href="#" id="sidebar-toggle-button" class="lpdoc-navbutton"><span id="sidebar-button-arrow">&#9776;</span></a><div id="sidebar" class="lpdoc-sidebar"><div style="height: 40px; margin-left: auto; margin-right: auto"><img src="ciao-logo_autofig.png" width=auto height=100%></div><div class="lpdoc-nav"><span class="lpdoc-on-right"><a class="lpdoc-navbutton" href="debugger_doc.html">&#x2191;</a><a class="lpdoc-navbutton" href="debugger_doc.html">&#x2190;</a><a class="lpdoc-navbutton" href="builder_doc.html">&#x2192;</a><a class="lpdoc-navbutton" href="ciaosearch.html">&#x1F50D;</a></span><span><a href="ciaofulltoc.html">TOC</a></span></div><hr></hr><ul class="lpdoc-itemize-sectpath"><li><a href="ciao.html">The Ciao System</a> &raquo;<br/> </li><li><a href="DevEnv.html">PART I - The program development environment</a> &raquo;<br/> </li><li><a href="debugger_doc.html">The interactive debugger</a> &raquo;<br/> </li><li><a href=""><strong>Predicates controlling the interactive debugger</strong></a></li></ul><hr></hr><em>ON THIS PAGE</em><ul><li><a href="#Usage and interface">Usage and interface</a></li><li><a href="#Documentation on exports">Documentation on exports</a></li><li><a href="#Documentation on imports">Documentation on imports</a></li></ul></div><div class="lpdoc-main"><div id=""><h1>Predicates controlling the interactive debugger</h1><a class="lpdoc-idx-anchor" href="ciaosearch.html#debugger"></a> <strong>Author(s):</strong> <a class="lpdoc-idx-anchor" id="A. Ciepielewski" href="ciaosearch.html#A. Ciepielewski">A. Ciepielewski</a>, <a class="lpdoc-idx-anchor" id="Mats Carlsson" href="ciaosearch.html#Mats Carlsson">Mats Carlsson</a>, <a class="lpdoc-idx-anchor" id="T. Chikayama" href="ciaosearch.html#T. Chikayama">T. Chikayama</a>, <a class="lpdoc-idx-anchor" id="K. Shen" href="ciaosearch.html#K. Shen">K. Shen</a>, <a class="lpdoc-idx-anchor" id="Daniel Cabeza" href="ciaosearch.html#Daniel Cabeza">Daniel Cabeza</a>, <a class="lpdoc-idx-anchor" id="Manuel C. Rodriguez" href="ciaosearch.html#Manuel C. Rodriguez">Manuel C. Rodriguez</a>, <a class="lpdoc-idx-anchor" id="Edison Mera" href="ciaosearch.html#Edison Mera">Edison Mera</a>, <a class="lpdoc-idx-anchor" id="Jose F. Morales" href="ciaosearch.html#Jose F. Morales">Jose F. Morales</a>.<p> This library implements predicates which are normally used in the interactive top-level shell to debug programs. A subset of them are available in the embeddable debugger.<br/><div id="Usage and interface"><h2>Usage and interface</h2><div class="lpdoc-cartouche"><ul><li><strong>Library usage:</strong><br/><tt>:- use_module(library(debugger)).</tt><li><strong>Exports:</strong><br/><ul class="lpdoc-itemize-minus"><li><em>Predicates:</em><br/><a class="lpdoc-idx-anchor" id="0" href="#call_in_module/2"><tt>call_in_module/2</tt></a>. </ul></ul></div></div><div id="Documentation on exports"><h2>Documentation on exports</h2><div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="call_in_module/2" href="ciaosearch.html#call_in_module/2">call_in_module/2</a></div><div class="lpdoc-deftext"><p><span class="lpdoc-usage-header">Usage:</span><span class="lpdoc-usage-decl"><tt>call_in_module(Module,Predicate)</tt> </span><p>Calls predicate <span class="lpdoc-var">Predicate</span> belonging to module <span class="lpdoc-var">Module</span>, even if that module does not export the predicate. This only works for modules which are in debug (interpreted) mode (i.e., they are not optimized).</p><ul class="lpdoc-itemize-minus"><li><em>The following properties should hold at call time:</em><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="1" href="basic_props.html#atm/1"><tt>basic_props:atm/1</tt></a>)</span><span><span class="lpdoc-var">Module</span> is an atom. </span><br/><span class="lpdoc-on-right"> (<a class="lpdoc-idx-anchor" id="2" href="basic_props.html#cgoal/1"><tt>basic_props:cgoal/1</tt></a>)</span><span><span class="lpdoc-var">Predicate</span> is a term which represents a goal, i.e., an atom or a structure. </span> </ul></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">(UNDOC_REEXPORT)</span><a class="lpdoc-idx-anchor" id="breakpt/6" href="ciaosearch.html#breakpt/6">breakpt/6</a></div><div class="lpdoc-deftext"> Imported from <a class="lpdoc-idx-anchor" id="3" href="ciaosearch.html#debugger_lib"><tt>debugger_lib</tt></a> (see the corresponding documentation for details).<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">(UNDOC_REEXPORT)</span><a class="lpdoc-idx-anchor" id="current_debugged/1" href="ciaosearch.html#current_debugged/1">current_debugged/1</a></div><div class="lpdoc-deftext"> Imported from <a class="lpdoc-idx-anchor" id="4" href="ciaosearch.html#debugger_lib"><tt>debugger_lib</tt></a> (see the corresponding documentation for details).<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">(UNDOC_REEXPORT)</span><a class="lpdoc-idx-anchor" id="debug/0" href="ciaosearch.html#debug/0">debug/0</a></div><div class="lpdoc-deftext"> Imported from <a class="lpdoc-idx-anchor" id="5" href="ciaosearch.html#debugger_lib"><tt>debugger_lib</tt></a> (see the corresponding documentation for details).<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">(UNDOC_REEXPORT)</span><a class="lpdoc-idx-anchor" id="debug_module/1" href="ciaosearch.html#debug_module/1">debug_module/1</a></div><div class="lpdoc-deftext"> Imported from <a class="lpdoc-idx-anchor" id="6" href="ciaosearch.html#debugger_lib"><tt>debugger_lib</tt></a> (see the corresponding documentation for details).<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">(UNDOC_REEXPORT)</span><a class="lpdoc-idx-anchor" id="debug_module_source/1" href="ciaosearch.html#debug_module_source/1">debug_module_source/1</a></div><div class="lpdoc-deftext"> Imported from <a class="lpdoc-idx-anchor" id="7" href="ciaosearch.html#debugger_lib"><tt>debugger_lib</tt></a> (see the corresponding documentation for details).<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">(UNDOC_REEXPORT)</span><a class="lpdoc-idx-anchor" id="debugging/0" href="ciaosearch.html#debugging/0">debugging/0</a></div><div class="lpdoc-deftext"> Imported from <a class="lpdoc-idx-anchor" id="8" href="ciaosearch.html#debugger_lib"><tt>debugger_lib</tt></a> (see the corresponding documentation for details).<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">(UNDOC_REEXPORT)</span><a class="lpdoc-idx-anchor" id="get_debugger_state/1" href="ciaosearch.html#get_debugger_state/1">get_debugger_state/1</a></div><div class="lpdoc-deftext"> Imported from <a class="lpdoc-idx-anchor" id="9" href="ciaosearch.html#debugger_lib"><tt>debugger_lib</tt></a> (see the corresponding documentation for details).<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">(UNDOC_REEXPORT)</span><a class="lpdoc-idx-anchor" id="get_debugger_state/1" href="ciaosearch.html#get_debugger_state/1">get_debugger_state/1</a></div><div class="lpdoc-deftext"> Imported from <a class="lpdoc-idx-anchor" id="10" href="ciaosearch.html#debugger_lib"><tt>debugger_lib</tt></a> (see the corresponding documentation for details).<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">(UNDOC_REEXPORT)</span><a class="lpdoc-idx-anchor" id="leash/1" href="ciaosearch.html#leash/1">leash/1</a></div><div class="lpdoc-deftext"> Imported from <a class="lpdoc-idx-anchor" id="11" href="ciaosearch.html#debugger_lib"><tt>debugger_lib</tt></a> (see the corresponding documentation for details).<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">(UNDOC_REEXPORT)</span><a class="lpdoc-idx-anchor" id="list_breakpt/0" href="ciaosearch.html#list_breakpt/0">list_breakpt/0</a></div><div class="lpdoc-deftext"> Imported from <a class="lpdoc-idx-anchor" id="12" href="ciaosearch.html#debugger_lib"><tt>debugger_lib</tt></a> (see the corresponding documentation for details).<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">(UNDOC_REEXPORT)</span><a class="lpdoc-idx-anchor" id="maxdepth/1" href="ciaosearch.html#maxdepth/1">maxdepth/1</a></div><div class="lpdoc-deftext"> Imported from <a class="lpdoc-idx-anchor" id="13" href="ciaosearch.html#debugger_lib"><tt>debugger_lib</tt></a> (see the corresponding documentation for details).<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">(UNDOC_REEXPORT)</span><a class="lpdoc-idx-anchor" id="nobreakall/0" href="ciaosearch.html#nobreakall/0">nobreakall/0</a></div><div class="lpdoc-deftext"> Imported from <a class="lpdoc-idx-anchor" id="14" href="ciaosearch.html#debugger_lib"><tt>debugger_lib</tt></a> (see the corresponding documentation for details).<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">(UNDOC_REEXPORT)</span><a class="lpdoc-idx-anchor" id="nobreakpt/6" href="ciaosearch.html#nobreakpt/6">nobreakpt/6</a></div><div class="lpdoc-deftext"> Imported from <a class="lpdoc-idx-anchor" id="15" href="ciaosearch.html#debugger_lib"><tt>debugger_lib</tt></a> (see the corresponding documentation for details).<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">(UNDOC_REEXPORT)</span><a class="lpdoc-idx-anchor" id="nodebug/0" href="ciaosearch.html#nodebug/0">nodebug/0</a></div><div class="lpdoc-deftext"> Imported from <a class="lpdoc-idx-anchor" id="16" href="ciaosearch.html#debugger_lib"><tt>debugger_lib</tt></a> (see the corresponding documentation for details).<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">(UNDOC_REEXPORT)</span><a class="lpdoc-idx-anchor" id="nodebug_module/1" href="ciaosearch.html#nodebug_module/1">nodebug_module/1</a></div><div class="lpdoc-deftext"> Imported from <a class="lpdoc-idx-anchor" id="17" href="ciaosearch.html#debugger_lib"><tt>debugger_lib</tt></a> (see the corresponding documentation for details).<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">(UNDOC_REEXPORT)</span><a class="lpdoc-idx-anchor" id="nospy/1" href="ciaosearch.html#nospy/1">nospy/1</a></div><div class="lpdoc-deftext"> Imported from <a class="lpdoc-idx-anchor" id="18" href="ciaosearch.html#debugger_lib"><tt>debugger_lib</tt></a> (see the corresponding documentation for details).<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">(UNDOC_REEXPORT)</span><a class="lpdoc-idx-anchor" id="nospyall/0" href="ciaosearch.html#nospyall/0">nospyall/0</a></div><div class="lpdoc-deftext"> Imported from <a class="lpdoc-idx-anchor" id="19" href="ciaosearch.html#debugger_lib"><tt>debugger_lib</tt></a> (see the corresponding documentation for details).<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">(UNDOC_REEXPORT)</span><a class="lpdoc-idx-anchor" id="notrace/0" href="ciaosearch.html#notrace/0">notrace/0</a></div><div class="lpdoc-deftext"> Imported from <a class="lpdoc-idx-anchor" id="20" href="ciaosearch.html#debugger_lib"><tt>debugger_lib</tt></a> (see the corresponding documentation for details).<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">(UNDOC_REEXPORT)</span><a class="lpdoc-idx-anchor" id="spy/1" href="ciaosearch.html#spy/1">spy/1</a></div><div class="lpdoc-deftext"> Imported from <a class="lpdoc-idx-anchor" id="21" href="ciaosearch.html#debugger_lib"><tt>debugger_lib</tt></a> (see the corresponding documentation for details).<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">(UNDOC_REEXPORT)</span><a class="lpdoc-idx-anchor" id="trace/0" href="ciaosearch.html#trace/0">trace/0</a></div><div class="lpdoc-deftext"> Imported from <a class="lpdoc-idx-anchor" id="22" href="ciaosearch.html#debugger_lib"><tt>debugger_lib</tt></a> (see the corresponding documentation for details).<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">(UNDOC_REEXPORT)</span><a class="lpdoc-idx-anchor" id="debugrtc/0" href="ciaosearch.html#debugrtc/0">debugrtc/0</a></div><div class="lpdoc-deftext"> Imported from <a class="lpdoc-idx-anchor" id="23" href="ciaosearch.html#debugger_lib"><tt>debugger_lib</tt></a> (see the corresponding documentation for details).<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">(UNDOC_REEXPORT)</span><a class="lpdoc-idx-anchor" id="nodebugrtc/0" href="ciaosearch.html#nodebugrtc/0">nodebugrtc/0</a></div><div class="lpdoc-deftext"> Imported from <a class="lpdoc-idx-anchor" id="24" href="ciaosearch.html#debugger_lib"><tt>debugger_lib</tt></a> (see the corresponding documentation for details).<br/></div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">(UNDOC_REEXPORT)</span><a class="lpdoc-idx-anchor" id="tracertc/0" href="ciaosearch.html#tracertc/0">tracertc/0</a></div><div class="lpdoc-deftext"> Imported from <a class="lpdoc-idx-anchor" id="25" href="ciaosearch.html#debugger_lib"><tt>debugger_lib</tt></a> (see the corresponding documentation for details).<br/></div></div><p> </div><div id="Documentation on imports"><h2>Documentation on imports</h2>This module has the following direct dependencies:<ul class="lpdoc-itemize-minus"><li><em>System library modules:</em><br/><a class="lpdoc-idx-anchor" id="26" href="ciaosearch.html#debugger_lib"><tt>debugger_lib</tt></a>, <a class="lpdoc-idx-anchor" id="27" href="format.html"><tt>format</tt></a>, <a class="lpdoc-idx-anchor" id="28" href="ciaosearch.html#toplevel_io"><tt>toplevel_io</tt></a>. <li><em>Packages:</em><br/><a class="lpdoc-idx-anchor" id="29" href="ciaosearch.html#prelude"><tt>prelude</tt></a>, <a class="lpdoc-idx-anchor" id="30" href="ciaosearch.html#initial"><tt>initial</tt></a>, <a class="lpdoc-idx-anchor" id="31" href="condcomp_doc.html"><tt>condcomp</tt></a>, <a class="lpdoc-idx-anchor" id="32" href="assertions_doc.html"><tt>assertions</tt></a>, <a class="lpdoc-idx-anchor" id="33" href="ciaosearch.html#assertions/assertions_basic"><tt>assertions/assertions_basic</tt></a>. </ul></div></div><div class="lpdoc-footer">Generated with LPdoc using Ciao</div></div><div class="lpdoc-clearer"></div></div></body></html>