[m-dev.] Suggestion: ^C throws an exception
Ralph Becket
rbeck at microsoft.com
Tue Dec 21 00:52:23 AEDT 1999
I have a suggestion that might help with the stack trace problem: let the
user optionally specify the number of ancestors to display and/or the
number of ancestors to skip. For example,
mdb> stack 10
would list (at most) the 10 nearest ancestors while
mdb> stack 10 100
would list (at most) ancestors 100 - 109 calls up the stack.
Then the user could supply mdb aliases that gave default values, at least
for the first argument, thereby avoiding the problem of very long traces.
The second argument would allow inspection of parts of the trace, so the
user might try, e.g., binary search on the stack to find the point of
interest.
Cheers,
Ralph
--------------------------------------------------------------------------
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