/usr/local/lib/swipl/library/prolog_breakpoints.pl
All Application Manual Name SummaryHelp

  • swipl
    • library
      • error.pl
      • debug.pl
      • apply.pl -- Apply predicates on a list
      • lists.pl
      • broadcast.pl
      • shlib.pl -- Utility library for loading foreign objects (DLLs, shared objects)
      • option.pl
      • thread_pool.pl
      • gensym.pl
      • settings.pl
      • arithmetic.pl
      • main.pl -- Provide entry point for scripts
      • readutil.pl
      • operators.pl
      • pairs.pl
      • prolog_source.pl
      • record.pl
      • quasi_quotations.pl -- Define Quasi Quotation syntax
      • pure_input.pl -- Pure Input from files and streams
      • solution_sequences.pl
      • ordsets.pl
      • random.pl
      • base64.pl
      • aggregate.pl
      • yall.pl
      • sandbox.pl
      • apply_macros.pl -- Goal expansion rules to avoid meta-calling
      • assoc.pl
      • prolog_format.pl
      • predicate_options.pl -- Access and analyse predicate options
      • csv.pl
      • pprint.pl
      • atom.pl
      • modules.pl -- Module utility predicates
      • occurs.pl -- Finding and counting sub-terms
      • prolog_xref.pl -- Prolog cross-referencer data collection
      • prolog_colour.pl
      • lazy_lists.pl -- Lazy list handling
      • ugraphs.pl
      • url.pl
      • www_browser.pl
      • prolog_pack.pl
      • git.pl
      • rbtrees.pl
      • dif.pl
      • charsio.pl
      • prolog_stack.pl
      • edinburgh.pl
      • prolog_clause.pl
      • prolog_breakpoints.pl -- Manage Prolog break-points
        • set_breakpoint/4
        • set_breakpoint/5
        • delete_breakpoint/1
        • breakpoint_property/2
        • set_breakpoint_condition/2
      • wfs.pl -- Well Founded Semantics interface
      • dialect.pl
      • prolog_code.pl
      • sort.pl
      • iostream.pl -- Utilities to deal with streams
      • dicts.pl -- Dict utilities
      • varnumbers.pl
      • base32.pl
      • codesio.pl
      • coinduction.pl
      • date.pl
      • heaps.pl -- heaps/priority queues
      • statistics.pl
      • terms.pl
      • utf8.pl
      • when.pl
      • backcomp.pl -- Backward compatibility
      • prolog_jiti.pl
      • ansi_term.pl
      • listing.pl
      • thread.pl
      • check.pl -- Consistency checking
      • prolog_debug.pl
      • prolog_versions.pl -- Demand specific (Prolog) versions
      • quintus.pl
      • zip.pl
      • prolog_wrap.pl
      • writef.pl
      • shell.pl -- Elementary shell commands
      • make.pl
      • persistency.pl
      • intercept.pl
      • prolog_coverage.pl
      • macros.pl -- Macro expansion
      • nb_set.pl
      • help.pl
      • prolog_autoload.pl
      • increval.pl
      • tables.pl -- XSB interface to tables
      • prolog_codewalk.pl -- Prolog code walker
      • threadutil.pl -- Interactive thread utilities
      • optparse.pl
      • prolog_profile.pl
      • strings.pl
      • prolog_trace.pl -- Print access to predicates
      • edit.pl -- Editor interface
      • exceptions.pl
      • ctypes.pl -- Character code classification
      • system.pl -- System utilities
      • oset.pl -- Ordered set manipulation
      • streams.pl
      • hashtable.pl -- Hash tables
      • rwlocks.pl
      • portray_text.pl
      • prolog_metainference.pl -- Infer meta-predicate properties
      • prolog_config.pl
      • fastrw.pl -- Fast reading and writing of terms
      • prolog_history.pl
 set_breakpoint_condition(+Id, +Cond) is det
Set a condition for of the breakpoint with given Id. The condition Cond is a string that represents a Prolog goal to be invoked whenever the breakpoint is reached, if goal fails the breakpoint is skipped and execution commences normally.

Variables in Cond that match by name to variables in the source definition of the clause in which the breakpoint is located are unified with the corresponding runtime value of the clause variables in the current execution frame, before evaluating the condition goal.

Errors
- existence_error(breakpoint, Id).