Yes, it can be done in RDi.
-- Bring up the Debug perspective.
-- You should have a Breakpoints view (part of several views in the upper right area of RDI).
-- When you establish a debug session (Under Run, Debug Configurations) and start it, once the program listing appears in the LPEX Editor view, you can right click in the Breakpoints view and select Add Breakpoint, which will then provide two options...Line and Watch.
I also like to add the variable to the Monitors view so I can see what value it currently has. When you hit your watch breakpoint (when the variable changes), it'll show the new value right away.
Hopefully that will provide some direction in getting a debug session with Watch established.
-- Ken
-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Robert Mullis
Sent: September 06, 2013 10:19 AM
To: Rational Developer for IBM i / Websphere Development Studio Clientfor System i & iSeries
Subject: [WDSCI-L] WATCH in RDi Debug
It has been a long time since I have used the green-screen STRDBG. I seem to remember being able to "watch" a field and have it automatically break at the point in the program when that field value changed. Is this possible in RDi Debug? And if so, how do you do it?
Thanks,
Robert J. Mullis
--
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 e-mail and attachment(s) may contain information that is privileged, confidential, and/or exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copy of this message is strictly prohibited. If received in error, please notify the sender immediately and delete/destroy the message and any copies thereof. Although Associated Banc-Corp and/or its affiliates (collectively "Associated") attempt to prevent the passage of viruses via e-mail and attachments thereto, Associated does not guarantee that either are virus-free, and accepts no liability for any damage sustained as a result of any such viruses. Any federal tax advice contained in this communication (including any attachments) is not intended or written to be used or referred to in the promoting, marketing, or recommending of any entity, investment plan or agreement, nor is such advice intended or written to be used, and cannot be used, by a taxpayer for the purpose of avoiding penalties under the Internal Revenue Tax Code
As an Amazon Associate we earn from qualifying purchases.