|
Are you using /COPY or /COPYBOOK ?
The debugger will not expand /COPYBOOK statements.
Regards,
John McKay mba
----- Original Message -----
From: "Scott Klement"<rpg400-l@xxxxxxxxxxxxxxxx>
To: "RPG programming on the IBM i / System i"<rpg400-l@xxxxxxxxxxxx>
Sent: Friday, October 22, 2010 11:42 PM
Subject: Re: Debugging code in /COPY member
Hi Aaron,
On 10/22/2010 4:46 PM, Aaron Bartell wrote:
I am using DBGVIEW(*ALL) and it is still not expanding them out.When you use DBGVIEW(*ALL), you create more than one debugging view.
you create both *SOURCE and *LIST -- and you let the debugger decide
which of these views to show you. I'm guessing that it's showing you
the *SOURCE view, so you're not seeing the copy books.
If you are in the green screen debugger (STRDBG) you can select the view
by pressing F15.
But, knowing you, I'm going to assume you're debugging with RDp.
Unfortunately, I don't have RDp handy, but I do have WDSC (7.0) so I'll
assume they're the same -- when you're in the debugger, right-click the
source code, and on the popup menu there should be an option "Switch
View". Expand that option, and you should be able to choose between
*listing, *source and *statement. If you select *LISTING, it should
show the copy books.
Unless of course you compiled with *NOSHOWCPY -- in which case, it won't
show the copy books no matter what you do :)
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.