[m-dev.] debugging grades and I/O tabling

Zoltan Somogyi zs at cs.mu.OZ.AU
Mon Aug 19 15:25:58 AEST 2002

On 19-Aug-2002, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> It would be very bad for code which compiles in the default grade to
> not compile with `--debug'.  So if we're going to make that an error in
> debug grades, I think we should make it an error in all grades.

That would be fine by me.

> But doing that would break a lot of existing code.

For small values of "break".

Most broken code can be fixed by adding an annotation. Very few foreign_procs
will have to be rewritten; for example there were none in the Mercury
implementation itself.

> What's the corresponding benefit to users?

Being able to retry past I/O actions *safely* in the debugger.

mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au

More information about the developers mailing list