|
Revision 1540, 1.2 KB
(checked in by pmoura, 4 years ago)
|
|
Updated release number to 2.21.2.
|
-
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.21.2 |
|---|
| 4 | |
|---|
| 5 | Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved. |
|---|
| 6 | ================================================================= |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | To load all entities in this group load the debugging_loader.lgt utility |
|---|
| 10 | file: |
|---|
| 11 | |
|---|
| 12 | | ?- logtalk_load(debugging_loader). |
|---|
| 13 | |
|---|
| 14 | You will need to load FIRST the events_loader.lgt file otherwise you will get |
|---|
| 15 | a runtime error. |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | The object event_dbg enables you to: |
|---|
| 19 | |
|---|
| 20 | - spy all or specific messages to an object |
|---|
| 21 | - trace an execution |
|---|
| 22 | - specify the streams used for debugger input/output |
|---|
| 23 | |
|---|
| 24 | These capabilities rely on the use of the event-based programming built in |
|---|
| 25 | Logtalk. That means that you can only debug public messages sent using the |
|---|
| 26 | ::/2 operator. |
|---|
| 27 | |
|---|
| 28 | You can have any number of debuggers active simultaneously, possibly |
|---|
| 29 | assigning different input/output streams to each one. |
|---|
| 30 | |
|---|
| 31 | Input/output is one area where Prologs compilers can differ, sometimes |
|---|
| 32 | because of differences in the underlying operating system. Therefore, |
|---|
| 33 | it is advisable that you look at the code of class debugger before |
|---|
| 34 | trying to use it. The i/o operations are done by the methods output/3, |
|---|
| 35 | query_user/1 and execute_option/1. |
|---|