[m-dev.] Suggestions for mdb

Robert Jeschofnik rejj at students.cs.mu.oz.au
Thu Aug 24 09:01:47 AEST 2000


On 24-Aug-2000, Mark Anthony BROWN <dougl at cs.mu.OZ.AU> wrote:
> Ralph Becket writes:
> > I have a few ideas for simple improvements to the debugger.
> > 
> ...
> 
> > 2b. Corollary: it would be nice to be able to set browser
> > variables in the .mdbrc file.
> 
> One way we could support this is to call the browser with a dummy term
> (e.g. unit) when the 'browse' command is given no arguments.  That way
> you could put something like the following in your .mdbrc:
> 
> 	browse
> 	set format pretty
> 	set depth 5
> 	 ...
> 	quit
> 
> If folks think this is a good idea, then I'm happy to go ahead and
> implement it.


I think it is a very good idea, however this seems like a bit of a hack. If
that is the way that you have to implement it, that's fine... just don't make
the user have to do "browse ... quit" in their rc file. Instead, make it
implied - if an rc file exists then call browse on a dummy term, execute all
the commands contained in the .mdbrc, then quit the browser.


Rob

--------------------------------------------------------------------------
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