root/tags/lgt2306/library/debugging.notes

Revision 3856, 1.2 KB (checked in by pmoura, 16 months ago)

Updated release number 2.30.6.

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