root/trunk/library/debugging.notes

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================================================================
2Logtalk - Open source object-oriented logic programming language
3Release 2.33.3
4
5Copyright (c) 1998-2008 Paulo Moura.        All Rights Reserved.
6Logtalk is free software.  You can redistribute it and/or modify
7it under the terms of the "Artistic License 2.0" as published by
8The Perl Foundation. Consult the "LICENSE.txt" file for details.
9================================================================
10
11
12To load all entities in this group load the debugging_loader.lgt utility
13file:
14
15    | ?- logtalk_load(debugging_loader).
16
17You will need to load FIRST the events_loader.lgt file otherwise you will get
18a runtime error.
19
20
21The 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
27These capabilities rely on the use of the event-based programming built in
28Logtalk. That means that you can only debug public messages sent using the
29::/2 operator.
30
31You can have any number of debuggers active simultaneously, possibly
32assigning different input/output streams to each one.
33
34Input/output is one area where Prologs compilers can differ, sometimes
35because of differences in the underlying operating system. Therefore,
36it is advisable that you look at the code of class debugger before
37trying to use it. The i/o operations are done by the methods output/3,
38query_user/1 and execute_option/1.
Note: See TracBrowser for help on using the browser.