× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



RDi 9.5.0.3

It is true that you can't set a watch breakpoint unless debug is running and the program is under debug, but when I try, I get error CRRDG3003W Connection to engine was terminated by user. This happens when I click Finish in the Add Watch Breakpoint dialog. I have tried it several times now, including stopping RDi, and ending the associated debug and router jobs before trying again. Happens every time, so this feature is not working for me. This is an SQLRPGLE program and the field is defined in a DB file and a Display file.

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.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.