Commit Graph

65 Commits

Author SHA1 Message Date
vsc
fd1bc58cde slowly restore nth_clause
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@941 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-12-01 19:22:01 +00:00
vsc
01703de3a0 fix lost indices in reconsult
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@937 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-11-27 21:47:44 +00:00
vsc
f5edbc8aa7 compact source mode.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@934 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-11-21 16:56:20 +00:00
vsc
17ecf0dc14 continue big commit
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@863 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-08-27 13:37:10 +00:00
vsc
0eb0f6c3d0 ^ was calling action with wrong number of arguments
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@833 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-05-23 15:38:40 +00:00
vsc
42ed54c331 fix debugging of log update predicates.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@785 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-02-19 16:54:34 +00:00
vsc
bcc49fc778 fix debugging of logical update predicates.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@764 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-02-12 13:17:00 +00:00
vsc
1369dfa410 new meta-call scheme.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@751 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-01-29 14:47:17 +00:00
vsc
8a72ec94b9 make sure to initialise u.Code in dbase.c
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@745 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-01-21 23:27:02 +00:00
vsc
3d5b22a732 recorda_at and recorded_at
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@744 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-01-21 16:14:52 +00:00
vsc
8b867ea4de new builtins: nth_clause, nth_instance.
allow clause/3 on static predicates.
predicate_property(P,number_of_clauses(N)).
improve profiling code.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@728 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-12-13 20:00:41 +00:00
vsc
910e50d980 some_recordedp never gets a third argument bound
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@726 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-12-11 16:08:35 +00:00
vsc
8264bfeb9e fix debugger
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@706 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-26 22:16:30 +00:00
vsc
0018af2b05 <0 would not work, it would set to default.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@701 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-20 20:01:33 +00:00
vsc
8934201fd3 oops!
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@698 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-20 15:07:36 +00:00
vsc
4e727b2f34 get rid of annoying debugging message.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@697 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-20 15:04:37 +00:00
vsc
6c626484f0 fix module stuff (at last)
debugger should call goal_expansion in spycalls.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@679 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-12 00:33:48 +00:00
vsc
7be5341ee0 don't show inner preds in stack dump.
debugger should never show (a,b).


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@673 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-05 19:14:42 +00:00
vsc
7f4fdb1652 don't debug (a,b), debug a and then b.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@652 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-10-23 21:43:55 +00:00
vsc
21aab28a59 new error handlong mechanism
new YAP_ foreign interface
fix unbound_first_arg in call_with_args


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@582 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-09 17:40:12 +00:00
vsc
cf638188ce support hidden predicates
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@578 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-09-02 17:33:00 +00:00
vsc
d0a4007160 fix broken debugger help message.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@564 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-08-01 17:57:18 +00:00
vsc
8b531d3293 fix spy of external procedures.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@547 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-06-18 05:25:02 +00:00
vsc
804f7ecebc fix some throws
fix shell/1 and shell/2 in system library.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@539 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-06-17 06:27:00 +00:00
vsc
1ec4c2acaf fix debugger messages
debug imported mnodules
fix yap2swi in win32
fixes for solaris


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@505 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-06-01 01:46:06 +00:00
vsc
bf2e66d5ef debugger k option would stop at exit port.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@482 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-23 04:21:54 +00:00
vsc
008cd709a1 improve the interface a bit more.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@476 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-18 04:01:53 +00:00
vsc
e0a80c43c5 debugger should not give any specific meaning to false.
init must only initialise preds after undef is made.
don't give annoying messages in s or t, just continue


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@467 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-10 15:04:03 +00:00
vsc
d2a6f16e4a handle stack overflow within =..
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@466 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-07 21:19:52 +00:00
vsc
97f7414cd2 fix debugger typos
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@465 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-07 03:51:59 +00:00
vsc
b46d033b12 make debugger more module aware
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@458 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-26 19:29:22 +00:00
vsc
a23bff9b6b fix wrong ! in debugger
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@457 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-26 19:15:21 +00:00
vsc
0e6dd4734e more fixes for debugger and overflow handling in arrays
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@433 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-08 03:11:33 +00:00
vsc
3ef0b143b0 fix debugging in the presence of goal_expansion
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@432 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-06 05:33:44 +00:00
vsc
6a28b0a02b portray within debugger may not be debugged.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@423 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-03-28 18:48:55 +00:00
vsc
43cad85ace fix debugging of [-f].
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@398 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-03-04 15:55:13 +00:00
vsc
cc6dc5a28b more debugger fixes: use $leave_creep to avoid creeping all over the place.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@387 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-02-26 22:15:36 +00:00
vsc
92eb12d4b5 fix paraenthesis
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@386 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-02-26 21:21:17 +00:00
vsc
f152092a09 handle unbound meta-calls
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@384 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-02-26 21:03:15 +00:00
vsc
3e3aa8f0e5 use $call instead of $execute so that pre-processing may be activated.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@315 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-22 03:16:06 +00:00
vsc
71f276e5db debugger: fix bad uses of metacall.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@312 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-19 16:10:53 +00:00
vsc
d413b1906c smaller debugger cleanups
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@311 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-18 16:08:30 +00:00
vsc
d70b5be256 new debugger code would get lost in meta-calls
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@310 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-18 15:55:33 +00:00
vsc
2a156ddf33 debugger improvements
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@309 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-18 04:24:10 +00:00
stasinos
b9b8b3d3be change the sig_pending flag into a stack
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@295 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-15 15:53:59 +00:00
stasinos
502e15be8e change the sig_pending flag int a stack
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@294 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-15 15:44:57 +00:00
stasinos
6951619ae2 signal handling made more generic
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@290 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-11 15:54:17 +00:00
vsc
bd28a74d45 fix error handling in debugger (first try).
add extra argument to handle.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@284 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-10 18:01:14 +00:00
stasinos
7849f7b54e SIG_USR handling seems to be working
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@282 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-09 17:19:36 +00:00
vsc
8496030d8a built-ins should not interfere with trace
new catch/throw design


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@281 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-08 05:22:40 +00:00