|
Jon,As one of Rory's employers customers, I would love it if Rory shipped all his code as debuggable :-)
Crispin.----- Original Message ----- From: "Jon Paris" <Jon.Paris@xxxxxxxxxxxxxx>
To: <rpg400-l@xxxxxxxxxxxx> Sent: Wednesday, January 10, 2007 11:21 AM Subject: Re: Optimize *FULL
>> However, using DBGVIEW(*LIST) (or DBGVIEW(*ALL), for that matter) goes against everything that Aaron (like me) is trying to do - to make his production objects (which he ships to *external* customers) more secure.No argument - but in order to debug when you use *SOURCE you have to put the source on the target machine. I would argue that that is even less secure.The scenario I would propose is to: a) Compile with *LIST b) Produce copy of *PGM for distribution c) Remove debug capability completely from the copy d) Ship the copye) In the event that I need to debug on the production system copy the debug-able version to the system. f) When debugging complete reinstate the no-debug version or (simpler) remove the debug capability from the production copy. Surely this is safer than having a source on the production box? The only potential exposure of my code is during the period when I'm activelydebugging and someone would have to know how to resurrect a source from thedebug-able version of the program. Jon Paris Partner400 www.Partner400.com -- 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.