4.39 Debugging and Tracing Programs
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Built-in Predicates
        • Debugging and Tracing Programs
          • trace/0
          • tracing/0
          • notrace/0
          • trace/1
          • trace/2
          • notrace/1
          • debug/0
          • nodebug/0
          • debugging/0
          • spy/1
          • nospy/1
          • nospyall/0
          • leash/1
          • visible/1
          • unknown/2
          • style_check/1
    • Packages
Availability:built-in
Sourceleash(?Ports)
Set/query leashing (ports which allow for user interaction). Ports is one of +Name, -Name, ?Name or a list of these. +Name enables leashing on that port, -Name disables it and ?Name succeeds or fails according to the current setting. Recognised ports are call, redo, exit, fail and unify. The special shorthand all refers to all ports, full refers to all ports except for the unify port (default). half refers to the call, redo and fail port.