|
If it's a subroutine or procedure, you might consider setting breakpoints at every point in the program it's called and just going with the interactive debug. I've done that more times than I care to admit. <g> > -----Original Message----- > From: Dan [mailto:dbcemid@yahoo.com] > Sent: Tuesday, December 17, 2002 10:10 AM > To: midrange-l@midrange.com > Subject: Re: Tracing statements executed in debug > > > > Have you considered using interactive debug instead? I almost > > _always_ use > > interactive debug now, instead of trace... > Me too. But I needed to be able to see where a particular piece of > code was being called from and, since it was "callable" from many > different points in the program, interactive debug would not have > allowed me to trace "backwards" from where I would set a breakpoint. > > You gave me the clue as to what I was doing wrong. I was specifying > OPMSRC(*YES) on the STRDBG command, which puts debug in the ILE > environment, and that's why I wasn't getting any trace data. So, this > is a case of not being able to have your cake and eat it too. > > BTW, in the scenario I described where tracing statements is required, > how would one accomplish that with an ILE program? > > - Dan > NOTICE: All e-mail sent to or from this e-mail address will be received or otherwise recorded by The Sharper Image corporate e-mail system and is subject to archival, monitoring, review by and/or disclosure to Sharper Image security and other management. This message is intended only for the use of the addressee and may contain information that is privileged and confidential. The contents of this message may contain personal views which are not the views of The Sharper Image. If you are not the intended recipient, dissemination of this communication is prohibited.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.