|
Revision 4572, 1.4 KB
(checked in by pmoura, 2 weeks ago)
|
|
Updated the Logtalk version number to 2.33.3 in preparation for the next release.
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 | ================================================================ |
|---|
| 2 | Logtalk - Open source object-oriented logic programming language |
|---|
| 3 | Release 2.33.3 |
|---|
| 4 | |
|---|
| 5 | Copyright (c) 1998-2008 Paulo Moura. All Rights Reserved. |
|---|
| 6 | Logtalk is free software. You can redistribute it and/or modify |
|---|
| 7 | it under the terms of the "Artistic License 2.0" as published by |
|---|
| 8 | The Perl Foundation. Consult the "LICENSE.txt" file for details. |
|---|
| 9 | ================================================================ |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | To load all entities in this group load the debugging_loader.lgt utility |
|---|
| 13 | file: |
|---|
| 14 | |
|---|
| 15 | | ?- logtalk_load(debugging_loader). |
|---|
| 16 | |
|---|
| 17 | You will need to load FIRST the events_loader.lgt file otherwise you will get |
|---|
| 18 | a runtime error. |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | The object event_dbg enables you to: |
|---|
| 22 | |
|---|
| 23 | - spy all or specific messages to an object |
|---|
| 24 | - trace an execution |
|---|
| 25 | - specify the streams used for debugger input/output |
|---|
| 26 | |
|---|
| 27 | These capabilities rely on the use of the event-based programming built in |
|---|
| 28 | Logtalk. That means that you can only debug public messages sent using the |
|---|
| 29 | ::/2 operator. |
|---|
| 30 | |
|---|
| 31 | You can have any number of debuggers active simultaneously, possibly |
|---|
| 32 | assigning different input/output streams to each one. |
|---|
| 33 | |
|---|
| 34 | Input/output is one area where Prologs compilers can differ, sometimes |
|---|
| 35 | because of differences in the underlying operating system. Therefore, |
|---|
| 36 | it is advisable that you look at the code of class debugger before |
|---|
| 37 | trying to use it. The i/o operations are done by the methods output/3, |
|---|
| 38 | query_user/1 and execute_option/1. |
|---|