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



DBGVIEW(*SOURCE) means to use the existing source member when debugging...

DBGVIEW(*LIST) includes a copy of the source in the compiled object.


On Thu, Dec 18, 2014 at 11:26 AM, Gary Thompson <gthompson@xxxxxxxxxxx>
wrote:

If I'm not mistaken, DBGVIEW(*SOURCE) means you were looking at a copy of
source code made at compile-time and stored in the program object file.
I don't have time to do a dump object so, hopefully, someone on this list
will confirm or correct me.


-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Greg
Wilburn
Sent: Thursday, December 18, 2014 9:20 AM
To: 'Rational Developer for IBM i / Websphere Development Studio Client
for System i & iSeries'
Subject: Re: [WDSCI-L] Disappearing Code??

Definitely in debug mode... compiled with DBGVIEW(*SOURCE)

-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Gary
Thompson
Sent: Thursday, December 18, 2014 9:41 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for
System i & iSeries
Subject: Re: [WDSCI-L] Disappearing Code??

Hmm, odd ?
Were you not in debug mode ?
If so, I'm guessing RDi was showing the source from the actual program
object being debugged . . .
Depending on how you compile (DBGVIEW), a program object may contain the
source . . .

-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Greg
Wilburn
Sent: Thursday, December 18, 2014 7:20 AM
To: 'Rational Developer for IBM i / Websphere Development Studio Client
for System i & iSeries'
Subject: Re: [WDSCI-L] Disappearing Code??

You're right... I created the new module in the wrong library... so when I
ran UPDSRVPGM, it was using the old object.

The old STRDBG would recognize that the source and object didn't match...
I just thought it was very odd that RDi just changes the source right in
front of you.

-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Gary
Thompson
Sent: Thursday, December 18, 2014 9:01 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for
System i & iSeries
Subject: Re: [WDSCI-L] Disappearing Code??

You did not mention if you checked the service program date and time after
using UPDSRVPGM Your description leads me to think the program object being
debugged was not the one updated by UPDSRVPGM


-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Greg
Wilburn
Sent: Thursday, December 18, 2014 6:56 AM
To: 'WDSCI-L@xxxxxxxxxxxx'
Subject: [WDSCI-L] Disappearing Code??

I've seen this twice...

I have a SQLRPGLE source member... I edit the code to change the SQL
statement slightly. Compile the SQLRPGLE creating the module, then use
UPDSRVPGM to update the service program of the same name. This is the only
module in the service pgm.

While in RSE view (source still open), I set a breakpoint and a service
entry point.
From the green screen, I invoke a program that uses the service pgm.

When I get to my breakpoint, the SQL statement has not changed. What's
more concerning is that the RSE view of the source member is now missing
the changes I just made.

If I close the source member (w/out saving) and reopen, my changes are
still there.

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

Follow-Ups:
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.