I haven't use this feature, but isn't the Add Watch breakpoint what you
want?
Paul
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Mark
Murphy/STAR BASE Consulting Inc.
Sent: Thursday, August 04, 2016 3:35 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for
System i & iSeries
Subject: [WDSCI-L] RDi Debug - Break when variable changes
In the past I have been able to set a debugger to stop when a variable value
changes. I am unable to find a similar feature in RDi. Here is the issue. I
have an old spaghetti program full of tags, gotos, and cabs that jump all
over the program. I have a variable that is being populated incorrectly, but
I have no idea where the offending code is. I would be nice to be able to
just have the debugger watch the value of this variable, and when it is
changed to the invalid value, break. Or when it is changed to any value
break there. This would speed up my debugging immensely.
If anyone knows how to do this in RDi, please let me know, or vote for my
RFE here
http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=92620.
Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx
--
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.
As an Amazon Associate we earn from qualifying purchases.