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

  • swipl
    • library
      • error.pl
      • debug.pl
      • apply.pl
      • lists.pl
      • broadcast.pl
      • shlib.pl -- Utility library for loading foreign objects (DLLs, shared objects)
      • option.pl
      • thread_pool.pl
      • gensym.pl -- Generate unique symbols
      • settings.pl -- Setting management
      • arithmetic.pl
      • main.pl
      • readutil.pl -- Read utilities
      • operators.pl
      • pairs.pl -- Operations on key-value lists
      • prolog_source.pl -- Examine Prolog source-files
      • record.pl
      • quasi_quotations.pl -- Define Quasi Quotation syntax
      • pure_input.pl -- Pure Input from files and streams
      • solution_sequences.pl -- Modify solution sequences
      • ordsets.pl
      • random.pl
      • base64.pl
      • aggregate.pl
      • yall.pl -- Lambda expressions
      • sandbox.pl
      • apply_macros.pl -- Goal expansion rules to avoid meta-calling
      • assoc.pl -- Binary associations
      • prolog_format.pl -- Analyse format specifications
      • predicate_options.pl -- Access and analyse predicate options
      • csv.pl -- Process CSV (Comma-Separated Values) data
      • pprint.pl -- Pretty Print Prolog terms
      • atom.pl
      • modules.pl
      • occurs.pl
      • prolog_xref.pl
      • prolog_colour.pl
      • lazy_lists.pl
      • ugraphs.pl -- Graph manipulation library
      • url.pl -- Analysing and constructing URL
      • www_browser.pl -- Open a URL in the users browser
      • prolog_pack.pl -- A package manager for Prolog
      • git.pl -- Run GIT commands
      • rbtrees.pl -- Red black trees
      • dif.pl -- The dif/2 constraint
      • charsio.pl
      • prolog_stack.pl
      • edinburgh.pl -- Some traditional Edinburgh predicates
      • 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 -- Utilities for reasoning about code
      • sort.pl
      • iostream.pl -- Utilities to deal with streams
      • dicts.pl
      • varnumbers.pl
      • base32.pl -- Base32 encoding and decoding
      • codesio.pl -- I/O on Lists of Character Codes
      • coinduction.pl
      • date.pl
      • heaps.pl -- heaps/priority queues
      • statistics.pl
      • terms.pl
      • utf8.pl
      • when.pl -- Conditional coroutining
      • backcomp.pl -- Backward compatibility
      • thread.pl
      • persistency.pl -- Provide persistent dynamic predicates
      • explain.pl -- Describe Prolog Terms
      • optparse.pl
      • strings.pl -- String utilities
      • prolog_trace.pl
      • tables.pl
      • increval.pl
      • qsave.pl
      • zip.pl -- Access resource ZIP archives
      • edit.pl
      • exceptions.pl
      • prolog_jiti.pl
      • ansi_term.pl
      • listing.pl -- List programs and pretty print clauses
      • nb_set.pl -- Non-backtrackable sets
      • quintus.pl -- Quintus compatibility
      • shell.pl -- Elementary shell commands
      • prolog_coverage.pl
      • prolog_config.pl
      • threadutil.pl -- Interactive thread utilities
      • check.pl
      • prolog_versions.pl
      • prolog_debug.pl
      • intercept.pl
      • prolog_history.pl -- Per-directory persistent commandline history
      • prolog_wrap.pl
      • ctypes.pl -- Character code classification
      • make.pl -- Reload modified source files
      • help.pl
      • hashtable.pl
      • writef.pl -- Old-style formatted write
      • fastrw.pl
      • prolog_codewalk.pl -- Prolog code walker
      • prolog_metainference.pl
      • rwlocks.pl
      • system.pl -- System utilities
      • oset.pl
      • streams.pl -- Manage Prolog streams
      • macros.pl
      • prolog_autoload.pl -- Autoload all dependencies
      • prolog_profile.pl
      • portray_text.pl -- Portray text
      • files.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).