[m-rev.] Add a listing facility to mdb

Peter Ross pro at missioncriticalit.com
Mon Oct 24 19:17:31 AEST 2005


On Fri, Oct 21, 2005 at 04:37:31PM +1000, Ralph Becket wrote:
> There is a more serious problem here: debugging grades don't support
> tail recursion, so either method in Mercury (scanning once for newlines
> vs. every time a listing is requested) can exhaust the stack.  This
> happens when trying to look at, say, io.m in the library.
> 
Shouldn't --trace-optimize turn tail recursion back on?

Note also one can also increase the stack using

  export MERCURY_OPTIONS=--detstack-size=<size>

which is what we do here to debug the server we are developing (we
generally need a 50Mb stack).
--------------------------------------------------------------------------
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