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

  • swipl
    • library
      • error.pl
      • debug.pl -- Print debug messages and test assertions
      • apply.pl
      • lists.pl
      • broadcast.pl
      • shlib.pl
      • option.pl -- Option list processing
      • thread_pool.pl -- Resource bounded thread management
      • gensym.pl -- Generate unique symbols
      • settings.pl -- Setting management
      • arithmetic.pl
      • main.pl
      • readutil.pl -- Read utilities
      • operators.pl -- Manage operators
      • pairs.pl -- Operations on key-value lists
      • prolog_source.pl -- Examine Prolog source-files
      • record.pl -- Access compound arguments by name
      • quasi_quotations.pl
      • pure_input.pl -- Pure Input from files and streams
      • solution_sequences.pl -- Modify solution sequences
      • ordsets.pl -- Ordered set manipulation
      • random.pl -- Random numbers
      • base64.pl -- Base64 encoding and decoding
      • aggregate.pl -- Aggregation operators on backtrackable predicates
      • yall.pl
      • 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
      • csv.pl -- Process CSV (Comma-Separated Values) data
      • pprint.pl -- Pretty Print Prolog terms
      • 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
      • ugraphs.pl -- Graph manipulation library
      • url.pl -- Analysing and constructing URL
      • www_browser.pl
      • prolog_pack.pl
      • git.pl
      • rbtrees.pl
      • dif.pl -- The dif/2 constraint
      • charsio.pl -- I/O on Lists of Character Codes
      • prolog_stack.pl -- Examine the Prolog stack
      • 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 -- Support multiple Prolog dialects
      • prolog_code.pl
      • sort.pl
      • iostream.pl -- Utilities to deal with streams
      • dicts.pl -- Dict utilities
      • varnumbers.pl -- Utilities for numbered terms
      • prolog_codewalk.pl
      • listing.pl
      • prolog_metainference.pl -- Infer meta-predicate properties
      • macros.pl -- Macro expansion
      • terms.pl -- Term manipulation
      • base32.pl -- Base32 encoding and decoding
      • codesio.pl -- I/O on Lists of Character Codes
      • coinduction.pl -- Co-Logic Programming
      • date.pl
      • heaps.pl
      • statistics.pl
      • utf8.pl
      • when.pl -- Conditional coroutining
      • backcomp.pl
      • optparse.pl
      • strings.pl -- String utilities
      • exceptions.pl
      • intercept.pl
      • ansi_term.pl -- Print decorated text to ANSI consoles
      • make.pl
      • check.pl -- Consistency checking
      • thread.pl -- High level thread primitives
      • quintus.pl -- Quintus compatibility
      • system.pl -- System utilities
      • nb_set.pl -- Non-backtrackable sets
      • prolog_debug.pl -- User level debugging tools
      • threadutil.pl -- Interactive thread utilities
      • persistency.pl -- Provide persistent dynamic predicates
      • prolog_profile.pl -- Execution profiler
      • edit.pl -- Editor interface
      • prolog_history.pl
      • ctypes.pl -- Character code classification
      • prolog_autoload.pl
      • shell.pl
      • zip.pl -- Access resource ZIP archives
      • prolog_versions.pl -- Demand specific (Prolog) versions
      • help.pl
      • writef.pl -- Old-style formatted write
      • prolog_config.pl -- Provide configuration information
      • increval.pl -- Incremental dynamic predicate modification
      • tables.pl -- XSB interface to tables
      • files.pl
      • fastrw.pl
      • explain.pl
      • hashtable.pl
      • prolog_jiti.pl
      • prolog_trace.pl
      • prolog_wrap.pl -- Wrapping predicates
      • portray_text.pl
      • prolog_coverage.pl
      • oset.pl
      • qsave.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).