|
On Nov 27, 2018, at 7:27 PM, Terry Hertel <T.Hertel@xxxxxxxxxxxxxxxxx> wrote:
When I took the conditional expression off the breakpoint, the program was stopping at the breakpoint, but the record I need to debug is thousands of cycles. I re-added the breakpoint conditional expression but instead of using the database field I used the input parameter for the sub-procedure because I noticed that the database fields were not visible in the Variables tab but the input parm was. That worked fine.
Terry Hertel
Programmer/Analyst
Peerless Industrial Group
A Kito Group Company
-----Original Message-----
From: Terry Hertel
Sent: Tuesday, November 27, 2018 5:20 PM
To: 'wdsci-l@xxxxxxxxxxxx' <wdsci-l@xxxxxxxxxxxx>
Subject: RE: Debug
Thanks Jon. I figured out how to set a conditional breakpoint but it doesn't stop at the line. When I run the program (in batch) the debug display stops at the first line of the program, which is a comment. The I click on the green Resume button. Should I be clicking on something else? My conditional expression is pretty simple: ememply = '1784'.
Terry Hertel
Programmer/Analyst
Peerless Industrial Group
A Kito Group Company
-----Original Message-----
From: Terry Hertel
Sent: Tuesday, November 27, 2018 5:02 PM
To: 'wdsci-l@xxxxxxxxxxxx' <wdsci-l@xxxxxxxxxxxx>
Subject: Debug
I rarely use the RDi debugger so I am pretty rusty at it. I am trying to use it for a batch job. I have my service entry point set and working, but how do I set it up to break at a specific line when a database field reaches a certain value? There's got to be a better way than stepping through every read until I hit the one I am interested in. Seems like I have done it before but it must have been in another lifetime.
--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/wdsci-l.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
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.