• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
    • RDF quality heuristics
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

B.1 Examining the Environment Stack
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Hackers corner
        • Examining the Environment Stack
          • prolog_current_frame/1
          • prolog_current_choice/1
          • prolog_frame_attribute/3
          • prolog_choice_attribute/3
          • deterministic/1
    • Packages
Availability:built-in
prolog_choice_attribute(+ChoicePoint, +Key, -Value)
Extract attributes of a choice point. ChoicePoint is a reference to a choice point as passed to prolog_trace_interception/4 on the 3rd argument or obtained using prolog_current_choice/1. Key specifies the requested information:
parent
Requests a reference to the first older choice point.
frame
Requests a reference to the frame to which the choice point refers.
type
Requests the type. Defined values are clause (the goal has alternative clauses), foreign (non-deterministic foreign predicate), jump (clause internal choice point), top (first dummy choice point), catch (catch/3 to allow for undo), debug (help the debugger), or none (has been deleted).

This predicate is used for the graphical debugger to show the choice point stack.

ClioPatria (version V3.1.1-40-g9d9e003)