|
In previous debuggers, weren't you warned when the source and the object didn't agree? Seems like I remember that. Anyway, I always run the compiler set to *list. It gives you a lot more than *source does, but doesn't generate every view like *all. If you have the list view, do the others have anything you don't? Fred Underwood North American Stainless (502) 347-6187 mailto:funderwood@xxxxxxxxxxxxxxxxxxxxxxxxxx Chris Payne <CPayne@xxxxxxxxxxxxxxx> Sent by: rpg400-l-bounces@xxxxxxxxxxxx 07/15/2004 03:53 PM Please respond to RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> To "'RPG programming on the AS400 / iSeries'" <rpg400-l@xxxxxxxxxxxx> cc Subject RE: Get source from object? I can attest to the fact that if you compile with DBGVIEW(*SOURCE) then change the source, then debug the program, what you see is the changed source, and some weird stuff happens. Chris -----Original Message----- From: Scott Klement [mailto:rpg400-l@xxxxxxxxxxxxxxxx] Sent: Thursday, July 15, 2004 3:45 PM To: RPG programming on the AS400 / iSeries Subject: RE: Get source from object? Hi Dan, > Assuming RPG-IV, if you compiled with DBGVIEW(*SOURCE) or DBGVIEW(*ALL) > then, yes, it's in the object. Forgive me, but do you mean DBGVIEW(*LIST)? I thought DBGVIEW(*SOURCE) meant that the debugger referred back to the actual source member? The following text appears in the help for the CRTBNDRPG command: *SOURCE Generates the source view for debugging the compiled program object This view is not available if the root source member is a DDM file. Also, if changes are made to any source members after the compile and before attempting to debug the program, the views for those source members may not be usable. It doesn't directly say that *SOURCE refers to the actual source member, but it does imply that if you change the source member, what you see in the debugger may not be relevant -- so to me that implies that it's using the actual source. Obviously, if that source were deleted, DBGVIEW(*SOURCE) wouldn't help -- so I'm guessing that you actually meant DBGVIEW(*LIST) -- or that I'm just totally wrong. -- This is the RPG programming on the AS400 / iSeries (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. -- This is the RPG programming on the AS400 / iSeries (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.