Download SICStus Prolog User`s Manual

Transcript
180
SICStus Prolog
debugger command. If the value is on while printing an uncaught
error exception message, the information is used to print the source
code location of the culprit goal or one of its ancestors, as far as it
can be determined. If the value is emacs in any of these cases, the
appropriate line of code is instead highlighted, and no extra text
is printed. The value is off initially, and that is its only available
value in runtime systems.
syntax_errors
Controls what action is taken upon syntax errors in read/[1,2].
dec10
The syntax error is reported and the read is repeated.
error
An exception is raised. See Section 8.5 [Exception],
page 172. (the default).
fail
The syntax error is reported and the read fails.
quiet
The read quietly fails.
system_type
A read-only flag. The value is development in development systems
and runtime in runtime systems.
toplevel_print_options
The value is a list of options for write_term/3 (see Section 8.1.3 [Term I/O], page 142), to be used when the toplevel displays variable bindings, answer constraints.
It is
also used when messages are displayed. The initial value is
[quoted(true),numbervars(true),portrayed(true),max_
depth(10)].
typein_module
Permitted values are atoms. Controls the current type-in module
(see Section 5.2 [Module Spec], page 59). Corresponds to the predicate module/1.
unknown
[ISO]
Corresponds to the predicate unknown/2 (see Section 8.15 [Debug
Pred], page 208).
trace
Causes calls to undefined predicates to be reported and
the debugger to be entered at the earliest opportunity.
(This setting is not possible in runtime systems.)
fail
Causes calls to such predicates to fail.
warning
Causes calls to such predicates to display a warning
message and then fail.
error
Causes calls to such predicates to raise an exception
(the default). See Section 8.5 [Exception], page 172.