You can also break at a line every (e.g.) 10 passes through that particular line, or only for (e.g.) the first 18 passes through. While this is not something you might use every day it is still something that can't be done in 5250 debugging and does help if you know you won't be interested in the break coming up every pass through the line.
You can also allow the debugger to "animate" so that it automatically steps forward every few milliseconds/seconds and allows you to just slow a section of code down in order to watch the values change (and then cause the animation to pause when you want to spend more time looking into this. Saves RSI from pressing the step button over and over again! Especially if your program was *not* compiled with OPTION(*NoDebugIO).
-Paul.
-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Vernon Hamberg
Sent: 19 September 2013 19:43
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Subject: Re: [WDSCI-L] Is there a tutorial on using the debugger in RDi?
The green debugger is still awesome, IMO. The one thing it doesn't allow is run to cursor - that is so much easier in both graphical debuggers, where I don't have to set a breakpoint on an ENDSR or the line after EXSR.
See also my 17-step SEP process in one of these posts - yep, 17 - or at least someone said there were that many!
Vern
On 9/19/2013 12:20 PM, darren@xxxxxxxxx wrote:
On a side note, just today I was bragging up the ability in the RDi
debugger to set a conditional breakpoint to a coworker. He pointed
out you can do this in 5250. It was something like 'break 50 when idx=5'.
From: Booth Martin <booth@xxxxxxxxxxxx>
To: Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Date: 09/19/2013 01:14 PM
Subject: Re: [WDSCI-L] Is there a tutorial on using the debugger in RDi?
Sent by: wdsci-l-bounces@xxxxxxxxxxxx
Thank you. I was making it much too hard. I appreciate it.
On 9/19/2013 11:58 AM, Edmund Reinhardt wrote:
Yes there is,
Go to Help->Cheat Sheets
expand IBM i and you will see a tutorial for "Debug a 5250 RPG or
COBOL
application"
Regards,
Edmund (E.H.) Reinhardt
COBOL IDE on AIX, DDS, WebFacing, System i Application Development,
Rational Developer for Power
2D barcode Phone: 1-905-413-3125 | Phone: 1-905-854-6195
IBM
- encoded E-mail: edmund.reinhardt@xxxxxxxxxx
with AIX COBOL:
8200 Warden Ave
contact www.youtube.com/user/IBMRational#g/c/62DF24D5BCD43501
Markham, ON L6G 1C7
information "In every thing give thanks: for this is the will of
Canada
God in Christ Jesus concerning you." - 1
Thessalonians 5:18
--
Booth Martin
www.martinvt.com
(802)461-5349
Skype: booth.martin
The Swartzberg Test: The validity of a science is its ability to predict.
--
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: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/wdsci-l.
--
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:
http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.
Scanned by MailDefender - managed email security from intY - www.maildefender.net
Important, this email transmission and any files with it are strictly confidential to the intended recipient and may be legally privileged. Any views or opinions presented are solely those of the author and do not necessarily represent those of BHSF. If you are not the intended recipient, you must not copy, disclose or distribute its contents in any way. If you have received this e-mail in error, please notify the sender and delete the e-mail from your system.
We have taken steps to ensure this email and attachments are free from any virus but do not accept any responsibility once this e-mail has been transmitted. You should scan any attachments for viruses. No contract may be concluded on behalf of BHSF Limited by e-mail.
Registered Office: BHSF Limited, Gamgee House, 2 Darnley Road, Birmingham, B16 8TE. www.bhsf.co.uk Registered in England number 35500. BHSF is authorised and regulated by the Financial Services Authority.
As an Amazon Associate we earn from qualifying purchases.