dyna icon indicating copy to clipboard operation
dyna copied to clipboard

Correctly interrupt ^C and resume solver without side-effects!

Open timvieira opened this issue 11 years ago • 3 comments

User should (as it can't yet, but should) be able to interrupt execution of the solver, inspect intermediate results with debugger, retract troublesome rules, etc.. and resume execution with out side-effects!

timvieira avatar Jun 29 '13 18:06 timvieira

Great! So should we close this non-issue? :-) What's the retraction command? And what do you mean by " inspect intermediate results with debugger"?

jeisner avatar Jun 29 '13 18:06 jeisner

Great! So should we close this non-issue? :-)

Pardon? it is an issue. It doesn't work yet. Hence the issue... I rephrased above.

What's the retraction command?

:- help retract_rule

And what do you mean by " inspect intermediate results with debugger"?

If you stop the debugger you should be able to query the "pre-solution" (which is not a /solution/ until the agenda is empty) as if the program where converged, i.e. "peek".

timvieira avatar Jun 29 '13 18:06 timvieira

Oh, I see, sorry.

jeisner avatar Jun 30 '13 04:06 jeisner