TeamSPoon / swipl-devel-unstable

DIFF https://github.com/SWI-Prolog/swipl-devel/compare/master...logicmoo:master_dvard
https://docs.google.com/document/d/1jo8aG_C7wwh1lZzPsFMfh3DEcRjhTQ-MMT_D2_GimEQ/edit
Other
4 stars 1 forks source link

O_UNDO_HOOK - 'undo/1' Is only running on debug. #9

Open TeamSPoon opened 8 years ago

TeamSPoon commented 8 years ago

'undo/1' Is only running on debug.

Maybe something to do with FIRSTVAR

28  ?- undo(writeln(world)),writeln(hello).
hello
true.
29 ?- debug,undo(writeln(world)),writeln(hello).
hello
world

[debug] 30 ?- nodebug.
true.

31  ?- undo(writeln(world)),writeln(hello).
hello
true.