[m-dev.] retry through try

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Dec 16 13:47:14 AEDT 2004


On 14-Dec-2004, Ian MacLarty <maclarty at cs.mu.OZ.AU> wrote:
> The `retry' command in mdb seems to break when used to retry through a call
> to exception.catch_impl when it is deep traced.  
> 
> Does builtin_catch do something to the stack that causes retry to break?

Yes.  In LLDS grades, builtin_catch adds a stack frame to the stack.
This stack does not have execution tracing information in it.
That is what is causing the problem that you reported:

> mdb> retry 1
> Mercury runtime: proc layout without exec trace in MR_maybe_record_call_table
> Last trace event was event #11.

-- 
Fergus Henderson                    |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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