× 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.



Just a thought - SEP only works on ILE programs, not OPM. Is your cl
program ILE or OPM? If it is OPM change it to ILE, recompile and the set
the SEP for the CL program.

Jim


On Tue, Mar 5, 2013 at 10:26 AM, Anderson, Kurt <KAnderson@xxxxxxxxxxxx>wrote:

I know the issue here is that the CL is calling STRDBG. That's not going
to change anytime soon. We don't always want to debug when a test runs, we
simply want it to run w/o updating production. That's the environment I'm
in, for better or worse.

-Kurt

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx]
On Behalf Of Paul Therrien
Sent: Tuesday, March 05, 2013 11:09 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for
System i & iSeries
Subject: Re: [WDSCI-L] RDP Debug when STRDBG active

I set the SEP in RDP and then run my program and the SEP kicks in and I am
now in debug. No need to STRDBG.

In order to prevent update of production data you set the debug parameter
in the preferences Under >Preferences>Run/Debug>IBM I Debug> Uncheck
"Update Production Files"


Paul


-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx]
On Behalf Of Anderson, Kurt
Sent: Tuesday, March 05, 2013 10:37 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for
System i & iSeries
Subject: Re: [WDSCI-L] RDP Debug when STRDBG active

When I realized that, I set the SEP to occur prior to the STRDBG execute.
After your email, I thought that if I set the breakpoint prior to the
execution of STRDBG that I might not have the issue, but I still do. What
I'm trying to replicate, is to get RDP to say "Hey I'm debugging, not you,
CL." I'm giving an 'I'gnore to the error on the STRDBG command. It seems
to me that the program should then continue while in debug mode in RDP, but
it isn't.

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx]
On Behalf Of Jeff Young
Sent: Tuesday, March 05, 2013 10:32 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for
System i & iSeries
Subject: Re: [WDSCI-L] RDP Debug when STRDBG active

Kurt,
AFIK, using RDP debug, under the covers, it issues a STRSRVJOB on the job,
then a STRDBG on the program.
If DEBUG is already active on the job, the STRDBG fails.

I do not use the RDP debugger, so am not sure if it issues an error when
you try this or just handles it and does nothing.



On Tue, Mar 5, 2013 at 11:24 AM, Anderson, Kurt <KAnderson@xxxxxxxxxxxx
wrote:

While I love RDP, I haven't moved from STRDBG over to debugging from
within RDP. I have a program issue and I thought I'd give RDP's debug
a try.

We have test jobs setup that automatically run STRDBG to prevent
updating of production libraries. Using StrDbg, when it hits that line
I get an error I can ignore. Now, when I set the SEP in a RPG source,
which is a program called by the CL that executes STRDBG (among other
things), the debug view is never coming up. I tried adding a SEP to
the CL before the STRDBG gets hit, and when that happens, I get an
error and can hit ignore, but for some reason it's not entering the
RPG code for me to debug. In the RPG program I set the breakpoint at
the very beginning to make sure I wasn't running into an issue where the
statement I put a breakpoint on
wasn't getting called. I just now set a breakpoint in the CL after the
STRDBG statement, and it doesn't break.

I've now spent about 45min on this and feel like I've had no success.
I know our method of testing (using a mix of production and test
libraries) isn't going to change. Are there any other suggestions as
to what I might try?

Kurt Anderson
Sr. Programmer/Analyst
CustomCall Data Systems, a division of Enghouse Systems Ltd.






--
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.




--
Jeff Young
Sr. Programmer Analyst
--
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.
--
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.


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.