[m-rev.] for review: --debug warning
Fergus Henderson
fjh at cs.mu.OZ.AU
Sat Mar 8 00:34:19 AEDT 2003
On 07-Mar-2003, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> On 07-Mar-2003, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> > On 07-Mar-2003, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> > > compiler/handle_options.m:
> > > Report an error if the user specifies debugging in a grade that doesn't
> > > support debugging.
> >
> > That looks good.
>
> Is there any way to get mdb to report an error at runtime if the
> module containing `main/2' is compiled without `--trace deep'?
That should not be an error. It's often useful to only compile
some other modules with `--trace deep'.
What we could do, however, is to issue a warning if main exits
without having encountered any events.
A related issue that has been on my list of wanted features for
a long time is to change mdb so that it doesn't just automatically
exit when the program does, but instead behaves more like gdb.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list