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



On 12/27/2016 11:41 AM, Dan wrote:
That last one, "Extract Local Variable", I can't tell you how many times I
would have paid good money to have that when I was deep in debugging a
program running in production. Although, after watching the video, I'm
unclear that this could work while debugging a Power i program, since it
seems like it would have to change the program object, which would
(should?) be impossible.

It's not a change to the debugger; rather, it is a change to the source.
Once the program gets recompiled, the debugging gets easier :-)

Unless, RPG programs actually use a local hidden
variable that the debugger can observe. Specifically, what I would want to
do is to highlight
%substr(getCustName(getCustId(salesHistoryId)): 1: 1)
then right-click it, then select something labeled "View Function Result".

You might consider putting that into an RFE. As far as I know, the RPG
compiler doesn't export intermediate results for 'public' / debugger
consumption, but it might be feasible... Along with that, imagine
'change expression result'. Think big!


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.