10.13.6.11 debug_message/0 declaration

Synopsis

:- debug_message.

Description

Prolog clauses following this directive will be compiled to send messages “carefully.”

That is, a message sent to an object that does not understand the message will raise an exception, which describes both the message and the object receiving it. This also catches attempts to send an unbound message, to send a message to an unbound object, and similar errors.

See Also

nodebug_message/0


Send feedback on this subject.