|
Revision 79, 1.2 KB
(checked in by pmoura, 7 years ago)
|
|
This commit was manufactured by cvs2svn to create tag 'lgt293'.
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 | ================================================================= |
|---|
| 2 | Logtalk - Object oriented extension to Prolog |
|---|
| 3 | Release 2.9.3 |
|---|
| 4 | |
|---|
| 5 | Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved. |
|---|
| 6 | ================================================================= |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | To load all objects in this group consult the debugging.loader utility |
|---|
| 10 | file. |
|---|
| 11 | |
|---|
| 12 | You will need to load FIRST the events.loader file otherwise you will get |
|---|
| 13 | a runtime error. |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | The object debugger enables you to: |
|---|
| 17 | |
|---|
| 18 | - spy all or specific messages to an object |
|---|
| 19 | - trace an execution |
|---|
| 20 | - specify the streams used for debugger input/output |
|---|
| 21 | |
|---|
| 22 | These capabilities rely on the use of the event-based programming built in |
|---|
| 23 | Logtalk. That means that you can only debug public messages sent using the |
|---|
| 24 | ::/2 operator. |
|---|
| 25 | |
|---|
| 26 | You can have any number of debuggers active simultaneously, possibly |
|---|
| 27 | assigning different input/output streams to each one. |
|---|
| 28 | |
|---|
| 29 | Input/output is one area where Prologs compilers can differ, sometimes |
|---|
| 30 | because of differences in the underlying operating system. Therefore, |
|---|
| 31 | it is advisable that you look at the code of class debugger before |
|---|
| 32 | trying to use it. The i/o operations are done by the methods output/3, |
|---|
| 33 | query_user/1 and execute_option/1. |
|---|