Hello Rich,

You should be able to achieve the "single step" function by adding the
STRDBG or CHGDBG parameters MAXTRC(1) TRCFULL(*STOPTRC).

Best regards,
Carsten Flensburg

----- Original Message ----- 
From: "Rich Hart" <richhart@xxxxxxx>
To: <mi400@xxxxxxxxxxxx>
Sent: Saturday, September 18, 2004 7:57 AM
Subject: [MI400] Debugging MI code


> It does most of the
> things the IBM OPM debugger does, with the glaring defect that it does not
> do a true "single step" function.  Mark Waterbury gave the me the idea of
> how to implement that function (by again, parsing branch points and
setting
> temporary break points at all possible branch points in an MI statement;
> that is, for any statement that has an implicit or explicit branch.  I did
> not, however, implement this yet, either.  The "single step" function just
> sets a temporary breakpoint at the next sequential MI instruction in line,
> and when (IF!) that breakpoint is reached, removes it.  Obviously, if the
> program branches around the breakpoint, the single step goes on forever
> (until another breakpoint is reached or the programs ends, or the computer
> gets tired).



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.