Vítor Santos Costa
16c8d54f0e
more debugging fixes
2015-03-23 16:16:48 +00:00
Vítor Santos Costa
2b2e21ae64
handle redirection in debugging
2015-03-17 23:09:33 +00:00
Vitor Santos Costa
ce84e60d08
cosmetic
2015-01-18 01:32:13 +00:00
Vitor Santos Costa
e69c9fc056
fix spy
2015-01-17 02:41:30 -08:00
Vitor Santos Costa
58357b1af4
fix spy
2015-01-16 20:07:18 -08:00
Vítor Santos Costa
3164ed2d61
doc support
2015-01-04 23:58:23 +00:00
Vítor Santos Costa
bb8ea9a27d
fix current and system predicate
2014-11-25 12:03:48 +00:00
Vítor Santos Costa
b40a5a7837
fix change in undef.
2014-10-11 14:09:40 +01:00
Vítor Santos Costa
e9cc545f68
big cleanup: cpmpile under style checker.
...
fix broken module stuff.
2014-10-07 01:35:41 +01:00
Vítor Santos Costa
3009987985
update docs
2014-09-11 14:06:57 -05:00
Vítor Santos Costa
a8c77d2609
fix string_concat/2
2014-04-09 12:39:29 +01:00
Vitor Santos Costa
cc84cd8cb5
check for mistypes
2014-04-06 17:05:17 +01:00
Vítor Santos Costa
d3b3a45dde
improve handling of meta-call in setof and debugging
2014-02-19 00:04:26 +00:00
Vitor Santos Costa
2410cd3862
fixes to new signal handling/debugging code
2013-12-13 08:42:57 +00:00
Vítor Santos Costa
fba3c34e50
trace fixes
2013-12-11 09:34:43 +00:00
Vítor Santos Costa
e768a7e7be
small improvements to debugger, prolog mode and meta-call (*->)
2013-12-10 22:58:02 +00:00
Vítor Santos Costa
09accc834c
remove problog atom initialization
2013-12-08 23:16:22 +00:00
Vítor Santos Costa
98b4f64b40
syntax error
2013-11-04 22:31:43 +00:00
Vitor Santos Costa
8ea594c104
use flag for debugging
2013-10-31 13:16:27 +00:00
Vitor Santos Costa
27d92de39a
fix nb_getval
2013-10-30 12:57:33 +00:00
Vitor Santos Costa
1cbe82da1e
SWI flags compat
2013-10-29 12:43:31 +00:00
Vítor Santos Costa
874fc97970
leave system mode
2013-03-03 20:26:48 -06:00
Vítor Santos Costa
ec7158eb99
debugger progress
2013-02-13 09:06:06 -06:00
Vítor Santos Costa
046cb5f8d6
debugging
2013-02-08 10:36:45 -06:00
Vitor Santos Costa
04bba4f1de
fix A option.
2012-10-19 18:13:48 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
4fe1833ece
Merge branch 'master' of /cygdrive/z/vitor/Yap/yap-6.3
2011-07-25 17:09:43 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
840e287cda
mode changes
2011-07-25 17:09:28 +01:00
Vitor Santos Costa
c78aa3cf1d
fix user-c spying.
2011-07-22 14:10:55 +01:00
Vítor Santos Costa
552d424ee0
debugger should use the same code that system uses to find undefined predicates.
2010-12-03 12:40:30 +00:00
U-Khasa\Vitor
f350e369b5
handle cr in files
2010-02-11 12:06:27 -06:00
Vítor Manuel de Morais Santos Costa
b94a667972
fix uninited nb if booting from prolog (obs from nf).
2010-01-26 12:37:10 +00:00
Vitor Santos Costa
87a075bd28
avoid unnecessy retry ports
2010-01-25 10:21:21 +00:00
Vitor Santos Costa
30e5e5d803
protect hooks within spy
2010-01-25 09:02:15 +00:00
Vitor Santos Costa
b56894e0d5
indenting.
2009-11-17 00:32:27 +00:00
Vitor Santos Costa
73cdfe0f5b
oops in previous change :(
2009-11-17 00:23:22 +00:00
Vitor Santos Costa
59935893ac
fix bad syntax (obs from Ulrich Neumerkel #137 , after #138 )
2009-11-17 00:13:54 +00:00
Vitor Santos Costa
3f30a2bf18
expand meta-predicates before trying to debug them.
2009-11-17 00:09:23 +00:00
Vítor Manuel de Morais Santos Costa
0e1fae17d9
make sure action is deterministic on key input.
2009-11-04 12:29:09 +00:00
Vitor Santos Costa
717d6ac4c8
handle meta-calls to unbound variables.
...
first step to improve exceptions.
2009-11-04 00:10:27 +00:00
Vitor Santos Costa
c1aba9a840
fix the signal handling a bit better.
2009-04-22 16:13:08 -05:00
Vitor Santos Costa
cf2b399e9a
debugger events should be known to the debugger!
2009-04-22 11:31:31 -05:00
Vitor Santos Costa
f668676e72
make a better effort to avoid walking through system code.
2009-04-17 15:46:13 -05:00
Vitor Santos Costa
9b088119c7
fix a case where one can creep inside the debugger.
2009-04-16 16:33:49 -05:00
Vitor Santos Costa
f46ff06f38
get rid of broken $clause/3: fixes listing of dynamic predicates.
2009-03-26 08:12:24 +00:00
Vítor Santos de Costa
1b399e3433
fix bad call to $execute in $spy
2008-10-24 14:26:44 +01:00
Vítor Santos de Costa
45e8b6fc8f
when I call from $spy I am not under debugger control.
2008-10-13 15:40:05 +01:00
Vítor Santos de Costa
6692a5888c
make sure we force debug_jump false on creep.
2008-10-10 00:39:24 +01:00
Vítor Santos Costa
ebbefd71ce
debugger fixes:
...
fix $execute0 and $call: they should be handled explicitely
fix missing ! for builtins in debugger meta-call
2008-09-23 22:50:25 +01:00
Vítor Santos Costa
6046f9f913
more fixes to debugger: make l and s option do what they are supposed to
...
do.
fix k and t, they had been broken.
Ideas:
DebugOn is now in the system and can disable spypoints.
Have an extra flag to distinguish fast (t,z,k) and slow(l,s) jumping.
2008-09-02 03:48:02 +01:00
Vítor Santos Costa
1226b58d8e
The debugger relied on the environment stack. To fix it:
...
- absmi.c now tells who called the debugger, besides who it was calling
- this is used to control whether we allow a goal to be debugged.
- I have creep to start creeping immediately, and signal_creep to tell
the next meta-call to creep what it executes!
- The debugger uses CalledFromTheDebugger to know if it is within the
debugger. If so, we do not need to creep on leaving.
2008-08-30 02:39:36 +01:00