This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/Logtalk/library/debugging.notes
2001-06-06 19:40:57 +00:00

33 lines
1.1 KiB
Plaintext

=================================================================
Logtalk - Object oriented extension to Prolog
Release 2.8.4
Copyright (c) 1998-2001 Paulo Moura. All Rights Reserved.
=================================================================
To load all objects in this group consult the debugging.loader utility
file.
You will also need to load FIRST the events.loader file.
The object debugger enables you to:
- spy all or specific messages to an object
- trace an execution
- specify the streams used for debugger input/output
These capabilities rely on the use of the event-based programming built in
Logtalk. That means that you can only debug public messages sent using the
::/2 operator.
You can have any number of debuggers active simultaneously, possibly
assigning different input/output streams to each one.
Input/output is one area where Prologs compilers can differ, sometimes
because of differences in the underlying operating system. Therefore,
it is advisable that you look at the code of class debugger before
trying to use it. The i/o operations are done by the methods output/3,
query_user/1 and execute_option/1.