It sounds like it should be, but I don't see Add Watch Breakpoint in my right click menu. I have Add/Remove Breakpoint which sets a line breakpoint, and Set Service Entry Point, but that is it. Maybe debug has to be started and the program running.
RDi 9.5.0.3
Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx
-----<paultherrien@xxxxxxxxxxxxxxxxxx> wrote: -----
To: "'Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries'" <wdsci-l@xxxxxxxxxxxx>
From: <paultherrien@xxxxxxxxxxxxxxxxxx>
Date: 08/04/2016 04:00PM
Subject: Re: [WDSCI-L] RDi Debug - Break when variable changes
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.